Free Support Forum - aspose.com

DNG2PNG and DNG2JPEG creates a pinkish tinge image

When converting from DNG to PNG and JPEG the image created has a pinkish tinge to it.

Code for DNG2JPEG:
DngImage dngImage = (DngImage) DngImage.load(inputPath);
dngImage.save(outputPath, new JpegOptions());

Code for DNG2PNG:
DngImage dngImage = (DngImage) DngImage.load(inputPath);
dngImage.save(outputPath, new PngOptions());

Sample DNG file and screenshot showing pinkish tinge:
sample.zip (7.6 MB)

@simon.wiseman

I have verified the issue on my end a ticket with ID IMAGINGNET-4375 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked withe issue so that you may be notified once the issue will be fixed.

Just to let you know I have tried to convert DNG2TIFF using this code:
public void convert(String inputPath, String outputPath, String fileName) throws Exception {
DngImage dngImage = (DngImage) DngImage.load(inputPath);
dngImage.save(outputPath, new TiffOptions(TiffExpectedFormat.TiffJpegRgb));
}
And the TIFF that was created also has a pinkish tinge to it.

@simon.wiseman

Thank you for sharing the additional information. I have associated that in our issue tracking system and we will get back to you with feedback as soon as it will be addressed.