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