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

Free Support Forum - aspose.com

Image Issues with Corretto v 8.302.08 and aspose 20.11

we are unable to re produce but observed couple of image / logo insertion with aspose word issues …
The following are the exception stack traces —

we are with debian and installed certain supporting packages - libfontconfig1 libfreetype6 libfs6 libexpat1 libpng16-16 fonts-dejavu-core fontconfig-config at each pod. But still seems packages are missing. Kindly help us on this required packages to mitigate the following 3 issues / Exceptions on image area

Exception while reading image javax.imageio.IIOException: Unsupported Image Type at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1087) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1058) at javax.imageio.ImageIO.read(ImageIO.java:1462) at javax.imageio.ImageIO.read(ImageIO.java:1357) at .AsposeTemplateDoc$HandleMergeImageFieldFromURL.getImage(AsposeTemplateDoc.java:1256) at .AsposeTemplateDoc$HandleMergeImageFieldFromURL.imageFieldMerging(AsposeTemplateDoc.java:1174) at com.aspose.words.MailMerge.zzZ(Unknown Source) at com.aspose.words.zzZBD.zzY(Unknown Source)

while reading image javax.imageio.IIOException: Incompatible color conversion at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkColorConversion(JPEGImageReader.java:997) at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1102) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1058) at javax.imageio.ImageIO.read(ImageIO.java:1462) at javax.imageio.ImageIO.read(ImageIO.java:1357) at .AsposeTemplateDoc$HandleMergeImageFieldFromURL.getImage(AsposeTemplateDoc.java:1256) at .AsposeTemplateDoc$HandleMergeImageFieldFromURL.imageFieldMerging(AsposeTemplateDoc.java:1174) at com.aspose.words.MailMerge.zzZ(Unknown Source)

021-10-29 17:04:38,992 246770461 threadId=https-jsse-nio-8443-exec-6 loglevel=ERROR class=c.i.p.u.d.t.a.I.AsposeTemplateDoc line=1258 USECASE_ID=report, Exception while reading image java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:482) at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1288) at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method) at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1255) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1058) at javax.imageio.ImageIO.read(ImageIO.java:1462) at javax.imageio.ImageIO.read(ImageIO.java:1357)

@intuitinc,
Please attach the following resources here for testing:

  • Your input document.
  • Your input images, with insertion of which issues occured
  • Please create a simple Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

we are unable to re produce , kindly help us on identifying the issue with these exceptions, these are production incidents.

@intuitinc I have consulted with our Java developers and there is no additional dependencies required under Linux. So it would be great and much simplify the the problem resolution if you attach the problematic document or image along with code that will allows us to reproduce the problem.