We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error while converting a PDF containing jpeg200 to image using Aspose pdf kit

Hi,

I am getting the following error while converting a PDF containing jpeg200image to image using Aspose pdf kit.

java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 3

at java.awt.image.ColorModel.(ColorModel.java:318)

at java.awt.image.ComponentColorModel.(ComponentColorModel.java:256)

at com.aspose.pdf.kit.rt.y(Unknown Source)

at com.aspose.pdf.kit.er.bp(Unknown Source)

at com.aspose.pdf.kit.b9.a(Unknown Source)

at com.aspose.pdf.kit.n4.if(Unknown Source)

at com.aspose.pdf.kit.b9.a(Unknown Source)

at com.aspose.pdf.kit.n4.if(Unknown Source)

at com.aspose.pdf.kit.n4.a(Unknown Source)

at com.aspose.pdf.kit.b9.a(Unknown Source)

at com.aspose.pdf.kit.sw.fB(Unknown Source)

at com.aspose.pdf.kit.PdfConverter.doConvert(Unknown Source)

at com.unica.ConvertPDFToImage.convert(ConvertPDFToImage.java:37)

at com.unica.SampleController.main(SampleController.java:22)

java.lang.ArrayIndexOutOfBoundsException: 1024

Hi EJSMith,

I have reproduced this problem at my end and logged it as PDFKITJAVA-21252 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once it is resolved.

We’re sorry for the inconvenience.
Regards,

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan