Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

SaveImageJpeg2000 with four channels fails with IE_UNSUP

franknatoli
New Contributor I
210 Views
Using release 7.0.4 source. Adapted JPEG-2000 libraries from uic_transcoder_con sample application, source jpeg2k.cpp. Function SaveImageJpeg2000 with argument CIppImage of four channels, which I presume is correct for 32 bit RGB, fails in switch (nOfComponents), where case 4 and default both return IE_UNSUP.

Examination of CIppImage reveals many methods which appear to handle four channels, but SaveImageJpeg2000 does not.

Must I convert 32 bit RGB to 24 bit RGB in order to use SaveImageJpeg2000?

Thanks.
0 Kudos
1 Reply
Sergey_K_Intel
Employee
210 Views
Hi,
Yes, you need to do that.
Regards,
Sergey
0 Kudos
Reply