I am creating a console app which converts DNG files to JPEG images.
I am using Apose.Imaging version 20.11.0.0 already applied the license.
Aspose.Imaging.CoreExceptions.ImageLoadException: ‘Image loading failed.’
DngException: Format not supported
My code below is from the examples you have in the documents
string sourceFiles = “D:/Projects/TestApps/convert-image/AzureFiles/IMG_0002.dng”;
string destPath = “D:/Projects/TestApps/convert-image/AzureFiles/IMG_0002.jpg”;
using (Aspose.Imaging.FileFormats.Dng.DngImage image = (Aspose.Imaging.FileFormats.Dng.DngImage)Image.Load(sourceFiles))
{
// Create an instance of JpegOptions class.
// convert and save to disk in Jpeg file format.
image.Save(destPath, new Aspose.Imaging.ImageOptions.JpegOptions());
}
Can you please share the source file that is creating the issue on your end. We will be able to proceed further with investigation on our end on provision of requested information.
I have created an issue with ID IMAGINGNET-4267 in our issue tracking system 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.
I regret to share that the issue is still unresolved. I request for your patience and we will share the good news with you as soon as it will be fixed.