Rank: Newbie
Groups: Guest
Joined: 8/16/2016(UTC) Posts: 1
|
Is there anyway to set layer property or is it just readonly? Code: 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");
|
|
|
|
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)
|
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
|
|
|
|
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.