Free Support Forum -

Exceptions thrown for specific PSD file


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

var licenser = new AsposeLicenser();
using (var image = (PsdImage) Image.Load(filePath))
    var textLayer = (TextLayer) image.Layers.First(layer => layer is TextLayer);
        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. (384.4 KB)



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.