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

Free Support Forum - aspose.com

Fail loading large TIFF files


when loading large TIFF files, we sometimes get an error:
com.aspose.imaging.coreexceptions.ImageLoadException: Image loading failed.
at com.aspose.imaging.Image.a(Unknown Source)
at com.aspose.imaging.Image.b(Unknown Source)
at com.aspose.imaging.Image.e(Unknown Source)
at com.aspose.imaging.Image.load(Unknown Source)

Caused by: com.aspose.imaging.internal.Exceptions.NullReferenceException: Object reference not set to an instance of an object.
at com.aspose.imaging.internal.iU.aV.c(Unknown Source)
at com.aspose.imaging.fileformats.dng.DngImage.a(Unknown Source)
at com.aspose.imaging.fileformats.dng.DngImage.a(Unknown Source)
at com.aspose.imaging.internal.gK.o.canLoad(Unknown Source)
at com.aspose.imaging.ImageLoadersRegistry.a(Unknown Source)
at com.aspose.imaging.ImageLoadersRegistry.b(Unknown Source)

This is problematic, since we need to convert these TIFF files in JPEG format.

Is there a way to give you an exemple file that fails us ?



I suggest you to please first try using latest Aspose.Imaging for .NET 21.7 on your end. In case there is still an issue then please share the working sample code and source file reproducing the issue.

I will try the evaluation, and it is Aspose.Total for Java that we use in version 20.9 currently.


Please try using the suggested version and if you still encounter issue, please share the source file reproducing the issue.