Free Support Forum - aspose.com

DICOM to JPEG: Exception on saving (C# .NET)

sample.dcm.zip (200.2 KB)

I can’t store the attached DICOM File as JPEG. Bug?

Error dumped:

class com.aspose.imaging.coreexceptions.ImageSaveException: Image export failed.
—> java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
— End of inner exception stack trace —
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.fileformats.dicom.DicomImage.a(Unknown Source)
com.aspose.imaging.L.a(Unknown Source)
com.aspose.imaging.internal.mi.b.a(Unknown Source)
com.aspose.imaging.internal.mi.c.a(Unknown Source)
com.aspose.imaging.Image.save(Unknown Source)

@thomas.winklehner,

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