Free Support Forum - aspose.com

Cannot update text layer data for specific psd file

Hi! We are processing the file from the archive attached using Aspose 20.5.0 and the following code:

AsposeLicenser.LoadLicense();

using (PsdImage image = (PsdImage)Image.Load(sourceFileName))
{
    var layer1 = (TextLayer)image.Layers[1];
    layer1.TextData.UpdateLayerData();

    image.Save(outputFileName);
}

A System.ArgumentOutOfRangeException is thrown while trying to update the layer data.

Issue.zip (129.0 KB)

Thanks,
Arnold

@arnoldbeilandevozon,

Using Aspose.PSD for .NET 20.6, I have been able to reproduce the issue. A ticket with ID PSDNET-685 has been created in our issue tracking system to resolve the issue. We will share feedback with you as soon as the issue will be fixed.