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

Free Support Forum - aspose.com

DNG to JPEG conversion fails

Trying to convert a DNG (looks like some kind of TIFF) to JPEG and it fails.
Using Imaging 18.9 for Java.
DNG attached, stack dump below, code below…

class com.aspose.imaging.coreexceptions.ImageSaveException: Image export failed. —> class com.aspose.imaging.coreexceptions.imageformats.TiffImageException: The specified Tiff file format options are not supported. Cannot create raw data to color data converter.

com.aspose.imaging.internal.hU.a.a(Unknown Source)
com.aspose.imaging.internal.id.l$a.<init>(Unknown Source)
com.aspose.imaging.internal.id.l.a(Unknown Source)
com.aspose.imaging.internal.hU.d.loadPartialArgb32Pixels(Unknown Source)
com.aspose.imaging.internal.fo.bb.a(Unknown Source)
com.aspose.imaging.internal.fo.bd.a(Unknown Source)
com.aspose.imaging.internal.fo.bd.a(Unknown Source)
com.aspose.imaging.internal.fo.bd.a(Unknown Source)
com.aspose.imaging.internal.fo.aA.a(Unknown Source)
com.aspose.imaging.RasterImage.a(Unknown Source)
com.aspose.imaging.RasterImage.loadPartialArgb32Pixels(Unknown Source)
com.aspose.imaging.fileformats.jpeg.JpegImage.a(Unknown Source)
com.aspose.imaging.fileformats.jpeg.JpegImage.a(Unknown Source)
com.aspose.imaging.internal.fC.w.b(Unknown Source)
com.aspose.imaging.internal.fC.a.a(Unknown Source)
com.aspose.imaging.internal.fC.a.export(Unknown Source)
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.Image.save(Unknown Source)
com.aspose.imaging.Image.save(Unknown Source)
com.deepsecure.sidecar.translation.conversions.image.dng.DNG2JPEG.convert(DNG2JPEG.java:17)
com.deepsecure.sidecar.translation.conversions.Conversion.main(Conversion.java:39)
— End of inner exception stack trace —
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.Image.save(Unknown Source)
com.aspose.imaging.Image.save(Unknown Source)
com.deepsecure.sidecar.translation.conversions.image.dng.DNG2JPEG.convert(DNG2JPEG.java:17)
com.deepsecure.sidecar.translation.conversions.Conversion.main(Conversion.java:39)

TiffImage dngImage = (TiffImage) Image.load(inputPath);
TiffFrame[] frames = dngImage.getFrames();
frames[0].save(outputPath, new JpegOptions());

Link to original DNG file:
https://deepsecure365-my.sharepoint.com/:i:/g/personal/simon_wiseman_deep-secure_com/EShKLF8GDyRLp2ErCyNtA2ABBmk3uTLGUHUkTgsxzTRlJQ?e=8DiJFr

@simon.wiseman,

I have worked with the sample file shared by you and have been able to observe the issue specified. An issue with ID IMAGINGJAVA-1114 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once issue will be fixed.

The issues you have found earlier (filed as IMAGINGJAVA-1114) have been fixed in this update.