We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Imagining fails to load large tiff files

Hello,

I’m trying to load and resize a large tiff image (60MB) but Aspose.Imaging throws Exceptions.
You can find a sample project including a sample tiff file here

Thanks

@ibrahimahmed1985
Welcome to our support forum!
Could you share your code to reproduce such a situation? Unfortunately, I do not have access to your link, could you share the tiff using another cloud storage?
Have a nice day!

Thanks so much for your quick reply but I was able to fix the issue by limiting the buffer size.

ex.
Image image = Image.Load(tiffPath, new LoadOptions { BufferSizeHint = 20 }

1 Like

@ibrahimahmed1985
Perfect! It seems to me that the problem was in the limitation of available memory. You may set BufferSizeHint in 1024 MB because it can improve performance (20Mb is a pretty small buffer).

1 Like