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



Go to last post Go to first unread
#1 Posted : Tuesday, August 16, 2016 1:11:16 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 8/16/2016(UTC)
Posts: 1

Is there anyway to set layer property or is it just readonly?
        var psdProcessor = new PsdProcessor(Path.GetTempPath());
        var picture = "picture.jpg";

        file.SaveAs(mappath + picture);

                psdProcessor.FrameCallback = (processor, frame) =>
                    if (frame.Type != FrameType.SmartObject || frame.Name != "Design")
                        return processor.ProcessFrame(frame);

                    var smartFrame = (PsdSmartFrame)frame;

        //I want to set smartFrame blendmode here

        var image = ImageReader.Create(mappath + picture);

        var container = smartFrame.ToGraphicsContainer(image + , ResizeMode.ImageFill);
                    return container;

        psdProcessor.Render(mappath + "env.psd", mappath + "picture.png");
#2 Posted : Tuesday, August 16, 2016 7:00:27 AM(UTC)

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 75 time(s) in 73 post(s)
Do you need to set the same blend mode as in a Photoshop file?

Unfortunately, the blend modes are not supported in the current version of Graphics Mill / PsdProcessor (8.x). The Photoshop blend modes and Graphics Mill combine modes are named the same way, but use different formulas for rendering, So, currently, it is not possible to render PSD files when a blend mode isn't Normal.

Even though we implemented the Photoshop blend modes in the upcoming version 9 of Graphics Mill, which should be available in the Fall.

Edited by user Tuesday, August 16, 2016 7:01:04 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Users browsing this topic
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.