This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Update text with keeping layer style and formats

I'd like to Graphics Mill library in C# application to edit text layers.
I tested this function with trial version and update text is working. But after I update the text via C# application, all layer styles and formats of the text layer are disappeared.

Is there any way to keep all formats during the update?
Hi,

Yes, it is possible to keep the formatting. Could you attach the PSD file you process so we prepared a code example?


attach #1407
This is the test psd file I want to edit via C# application.
I want to update the text layer without any loss of formats and layer styles
Hi,

Thank you for the provided PSD file. I used the following code to render the file and got the result attached:

class Program
{
    static void Main(string[] args)
    {
        var psdProcessor = new Aurigma.GraphicsMill.Templates.PsdProcessor();

        psdProcessor.StringCallback = (processor, textFrame) =>
        {
            string text = "{" + textFrame.Text + "}";
            return text;
        };

        psdProcessor.Render("../../../test2.psd", "../../../result.png");
    }
}


attach #1408

The result doesn't match the original PSD image, as PsdProcessor supports blending options partially only. We support the Stroke and Drop Shadow effects, but the Bevel & Emboss filter is not implemented.

attach #1409

Is the support of Bevel & Emboss effect critical for you?
I need all effects and layer styles of Photoshop CC.
If this is possible with your API, it would be great and I will surely purchase the premium products
UI_manager;32856
I need all effects and layer styles of Photoshop CC.
If this is possible with your API, it would be great and I will surely purchase the premium products


Photoshop is a very complex software and it is nearly impossible to support all effects and layer styles. Even though we may consider implementing some unsupported layer style, but you should prioritize them first.