Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
UI_manager  
#1 Posted : Monday, April 8, 2019 3:27:06 AM(UTC)
UI_manager

Rank: Newbie

Groups: Member
Joined: 4/8/2019(UTC)
Posts: 3

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?

Fedor  
#2 Posted : Monday, April 8, 2019 7:38:58 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hi,

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

Best regards,

Fedor Skvortsov

UI_manager  
#3 Posted : Monday, April 8, 2019 8:34:26 AM(UTC)
UI_manager

Rank: Newbie

Groups: Member
Joined: 4/8/2019(UTC)
Posts: 3

test.zip (18kb) downloaded 7 time(s).

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

Edited by user Monday, April 8, 2019 8:35:51 AM(UTC)  | Reason: Not specified

Fedor  
#4 Posted : Tuesday, April 9, 2019 3:03:02 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hi,

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

Code:
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");
    }
}

result.png

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.

layer-effects.png

Is the support of Bevel & Emboss effect critical for you?

Edited by user Tuesday, April 9, 2019 3:04:24 AM(UTC)  | Reason: Not specified

Best regards,

Fedor Skvortsov

UI_manager  
#5 Posted : Tuesday, April 9, 2019 3:14:59 AM(UTC)
UI_manager

Rank: Newbie

Groups: Member
Joined: 4/8/2019(UTC)
Posts: 3

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

Fedor  
#6 Posted : Tuesday, April 9, 2019 3:30:52 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Originally Posted by: UI_manager Go to Quoted Post
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.

Best regards,

Fedor Skvortsov

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.