Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

IJL JPGChannels

mmschmidt
Beginner
154 Views

Hello,

After a IJLRead call, JPGChannels is set to 3, but the image is greyscale. Is that a bug, or is there another way to determine the number of bytes per pixel?

Thanks,

Mike

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
154 Views

Hi Mike,

If JPEG image header reports about three channels it is not gray image, although it may look like gray.

Regards,
Vladimir

Reply