Free Support Forum -

Exception: IndexOutOfRangeException on converting PSD file to JPEG (C# .NET)

When trying to save the attached file as a jpeg image an IndexOutOfRangeException is thrown.
The code we’re using is:

        using (var image = Aspose.PSD.Image.Load(PsdFilePath))
            image.Save(JpgFilePath, new JpegOptions());
        } (759.8 KB)


I have worked with the sample file shared by you and have created an issue with ID PSDNET-174 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 fixed.

@mudassir.fayyaz - do you have any update on this issue and it’s availability?


I like to inform that this issue is going to resolved tentatively in Aspose.PSD 19.9. I request for your patience until issue get resolved.

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