PSD file cannot be saved when text layer contains linebreak only


using following:

private static void UpdateText(string filePath)
        var newText = "\r";

        using (var image = Image.Load(filePath))
            if (!(image is PsdImage)) return;

            var psdImage = (PsdImage)image;
            var layers = psdImage.Layers;

            for (var index = layers.Length - 1; index >= 0; index--)
                var layer = layers[index];

                if (!(layer is TextLayer)) continue;

                var textLayer = (TextLayer)layer;

on attached file, when saving error The rectangle has no common processing area. Cannot proceed. is thrown (10.9 KB)



I have observed the sample code and file shared by you. An issue with ID PSDNET-199 has been created 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 be fixed.


@mudassir.fayyaz do you have any estimate for this issue to be addressed? It’s quite critical for us.



Unfortunately, I may not be able to share any estimates with you yet. The issue has just recently been added in our issue tracking system and is pending for investigation in issues queue. Our product team shall schedule and investigate the issue on its due turn and after that we will be able to share any time line. We request for your patience till the time the issue gets scheduled and investigated.