Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Update text with keeping layer style and formats
Rank: Newbie
Groups: Guest
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?
|
|
|
|
Rank: Advanced Member
Groups: Guest
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
|
|
|
|
Rank: Newbie
Groups: Guest
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
|
|
|
|
Rank: Advanced Member
Groups: Guest
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");
}
}
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. 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
|
|
|
|
Rank: Newbie
Groups: Guest
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
|
|
|
|
Rank: Advanced Member
Groups: Guest
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 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
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Update text with keeping layer style and formats
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.