On calling Image.load
on the attached gif, I get the following stack trace:
Exception in thread "main" class com.aspose.imaging.coreexceptions.imageformats.GifImageException: Block size is incorrect for gif application extension block.
com.aspose.imaging.internal.bF.a.load(Unknown Source)
com.aspose.imaging.internal.eC.s.load(Unknown Source)
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.Image.load(Unknown Source)
Here is sample code that reproduces:
import com.aspose.imaging.Image;
public class Test {
public static void main(String[] args) {
Image.load("/path/to/image.gif");
}
}
I am able to open the image in other programs and java ImageIO also can open it without problems. Has anyone run into this issue before and if so, suggestions on how to get around it?
Thanks
image.gif (12.3 KB)