Free Support Forum - aspose.com

StackOverflow when Loading this image

Kundenfoto_0003125646.jpg (752.1 KB)

When loading this image I get an StackOverflow exception
using (Image img = Image.Load(ms))
{
}

@Markus1980Wien

Can you please try using latest Aspose.Imaging for .NET 21.2 on your end and share with us if there is still an issue.

I already did.

@Markus1980Wien
I have tried to load the file using Aspose.Imaging for .NET 21.2 and there is no issue. Since you are using stream, can you please confirm if you have set stream position to 0 before loading.

image.png (48.3 KB)