Skip to content

_ph_image_digest function cimg exception when alpha channel present #39

@Reubot-J

Description

@Reubot-J

Function throws the following exception with images that contain an alpha channel as it is not being treated as an RBG.

[CImg] *** CImgInstanceException *** [instance(316,324,1,4,0x7fbd3d307010,non-shared)] CImg<unsigned char>::RGBtoYCbCr(): Instance is not a RGB image. terminate called after throwing an instance of 'cimg_library::CImgInstanceException' what(): [instance(316,324,1,4,0x7fbd3d307010,non-shared)] CImg<unsigned char>::RGBtoYCbCr(): Instance is not a RGB image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions