Free Support Forum - aspose.com

Exceptions thrown for specific PSD file

Hi!

We are trying to process the .psd file from the archive below using the following code:

var licenser = new AsposeLicenser();
licenser.LoadLicense();
using (var image = (PsdImage) Image.Load(filePath))
{
    var textLayer = (TextLayer) image.Layers.First(layer => layer is TextLayer);
    try
    {
        var textData = textLayer.TextData;  // exception here...
    }
    catch (Exception) { }

    textLayer.UpdateText("abc");  // exception here...
}

Exceptions are thrown by Aspose.PSD from the lines indicated by comments above. Note that the textLayer.Text property is populated correctly.

A.zip (384.4 KB)

Thanks!
Arnold

@arnoldbeilandevozon,

I have tested the file on my end and have reproduced the issue. A ticket with ID PSDNET-677 has been created to investigate and resolve the issue. We will share the good news with you as soon as the issue will be fixed.