Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
6814 Discussions

SaveImageJpeg2000 with four channels fails with IE_UNSUP

franknatoli
New Contributor I
457 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
457 Views
Hi,
Yes, you need to do that.
Regards,
Sergey
0 Kudos
Reply