Unsupported Image Type for JPG

Hello,


I am trying to convert JPG (sample file is in the attachment) to PNG. I encountered error as shown below:

com.groupdocs.conversion.exception.LoadingException: Exception thrown while try to load document! File name: Can’t load image!
at q.a(Unknown Source)
at q.(Unknown Source)
at ad.a(Unknown Source)
at ad.(Unknown Source)
at W.(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convertToImage(Unknown Source)
at com.test.converter.GroupDocsConverter.getPage(GroupDocsConverter.java:135)
at com.test.converter.GroupDocsConverter.getDocContent(GroupDocsConverter.java:113)
at com.test.converter.main.GetPageContentApp.main(GetPageContentApp.java:33)
Caused by: javax.imageio.IIOException: Unsupported Image Type
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1068)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1039)
at javax.imageio.ImageIO.read(ImageIO.java:1448)
at javax.imageio.ImageIO.read(ImageIO.java:1352)
… 9 more


Hello,

Thank you for your inquiry.

At the moment our Product team works on new generation of the GroupDocs.Conversion for Java product and this issue should be resolved in it. This library should be available soon.

Please stay tuned with our newsletters .

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+