Exception when opening PNG Image

Hi There,
i’m not able to open the figure attached! sankey1a.png (68.4 KB)

when i try using following code i get
“Exception in thread “main” class com.aspose.imaging.coreexceptions.ImageLoadException: Image loading failed. —> class com.aspose.imaging.internal.Exceptions.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: byteCount”

Image tmpImage = Image.load(tmpFullPathPNG);

Any Idea what could be wrong here? i can open and view it in “normal” image view programs

thanks a lot

@tmdolphin

It seems to be an issue with API while loading PNG. A ticket with ID IMAGINGJAVA-7814 has been created to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Thanks for your response. Looking forward for an update :slight_smile: