Hello.
Using the attached psd file, when we try to add new text portions, we get this error:
image.png (76.8 KB)
var psdImage = (PsdImage)Image.Load(psdFilePath);
foreach (var layer in psdImage.Layers)
{
if (layer is TextLayer textLayer)
{
var newPortion = textLayer.TextData.ProducePortions(
new[] { “adding text” },
null,
null
).First();
}
}
Layer123Problem.7z (12.6 KB)
It seems like the layer has some sort of issue, as we extracted it from a bigger document that has this issue.
Thank you and hope to hear from you soon