Hi!
The following images are failing to load throwing the exception below. However if I try with another image it works as expected
Could you help me understand the problem of loading those images?
Images failing to load:
images.zip (4.4 MB)
Image loading as expected:
image01.jpg (89.3 KB)
try (Image image = Image.load("image.jpg")) {
BufferedImage buffImage = ImageExtensions.toJava(image);
// Some logic here
}
catch (Exception exception) {
log.error("Error: ", exception);
}
com.aspose.imaging.coreexceptions.ImageLoadException: Cannot open an image. The image file format may be not supported at the moment.
at com.aspose.imaging.Image.a(Unknown Source) ~[aspose-imaging-22.4-jdk16.jar:22.4]
at com.aspose.imaging.Image.load(Unknown Source) ~[aspose-imaging-22.4-jdk16.jar:22.4]