Getting the following exception when trying to load an heic file into Aspose.Imaging version 25.10 before saving to pdf. I have attached a sample file.
Aspose.Imaging.CoreExceptions.ImageLoadException
HResult=0x80131500
Message=Image loading failed.
Source=Aspose.Imaging
StackTrace:
at Aspose.Imaging.Image.#=z5JWA_Z$A$9XR(StreamContainer #=zFY$Jfp$lhZrh, LoadOptions #=z6M65tOh0hoYb, #=zSDPvV3YaRdiB9siH6H2$QAQIsk2$wh9x5qHI7mU= #=zn5$qHPk=)
at Aspose.Imaging.Image.Load(String filePath)
at RevealIndexClientService.Application.UseCases.DocumentConversion.NativeView.NativeViewDocumentConverterAsposeHeic.<Convert>d__1.MoveNext() in G:\Reveal\Repositories\rent-18435-aspose-svg-pdf\Development\Reveal Services\RevealIndexClientService\RevealIndexClientService\Application\UseCases\DocumentConversion\NativeView\NativeViewDocumentConverterAsposeHeic.cs:line 35
This exception was originally thrown at this call stack:
System.ThrowHelper.ThrowKeyNotFoundException<T>(T) in ThrowHelper.cs
System.Collections.Generic.Dictionary<TKey, TValue>.this[TKey].get(TKey) in Dictionary.cs
Openize.Heic.Decoder.HeicImageFrame.LoadProperties(Openize.Heic.Decoder.IO.BitStreamWithNalSupport, System.Collections.Generic.List<Openize.IsoBmff.Box>)
Openize.Heic.Decoder.HeicImageFrame.HeicImageFrame(Openize.Heic.Decoder.IO.BitStreamWithNalSupport, Openize.Heic.Decoder.HeicImage, uint, System.Collections.Generic.List<Openize.IsoBmff.Box>)
Openize.Heic.Decoder.HeicImage.ReadFramesMeta(Openize.Heic.Decoder.IO.BitStreamWithNalSupport)
Openize.Heic.Decoder.HeicImage.HeicImage(Openize.Heic.Decoder.HeicHeader, Openize.Heic.Decoder.IO.BitStreamWithNalSupport)
Openize.Heic.Decoder.HeicImage.Load(System.IO.Stream)
Aspose.Imaging.HEIC.Adapter.HEICImage.HEICImage(System.IO.Stream)
Aspose.Imaging.HEIC.Adapter.Loader.HEICImageLoader.Load(Aspose.Imaging.StreamContainer, Aspose.Imaging.LoadOptions)
Aspose.Imaging.Image.#=z5JWA_Z$A$9XR(Aspose.Imaging.StreamContainer, Aspose.Imaging.LoadOptions, #=zSDPvV3YaRdiB9siH6H2$QAQIsk2$wh9x5qHI7mU=)
Inner Exception 1:
KeyNotFoundException: The given key '122' was not present in the dictionary.
PROD_0000160.zip (2.4 MB)