Community
cancel
Showing results for 
Search instead for 
Did you mean: 
franknatoli
New Contributor I
50 Views

SaveImageJpeg2000 with four channels fails with IE_UNSUP

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
50 Views

Hi,
Yes, you need to do that.
Regards,
Sergey
Reply