Rank: Newbie
Groups: Guest
Joined: 5/5/2021(UTC) Posts: 3
|
Rank: Newbie
Groups: Member Joined: 5/5/2021 Posts: 1
private static void RenderMugPreview() { var psdProcessor = new PsdProcessor();
psdProcessor.FrameCallback = (processor, frame) => { if (frame.Type != FrameType.SmartObject)
return processor.ProcessFrame(frame);
var smartFrame = (PsdSmartFrame)frame;
Console.WriteLine(frame.Type);
return smartFrame.ToGraphicsContainer(ImageReader.Create(@"../../../../_Input/33333.jpg"), ResizeMode.Fit); }; psdProcessor.Render(@"../../../../_Input/name2.psd", @"../../../../_Output/RenderMugPreview.png"); } }
this is the demo about the official markcup when i change the psd file more then 32MB report< Aurigma.GraphicsMill.OutOfMemoryException:“Unable to commit memory for this operation.”> has the psd file limit the size ?
|
|
|
|
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)
|
Please submit a case and attach the PSD file you experience the problem. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 5/5/2021(UTC) Posts: 3
|
i change the x64 version the demo cant run report < System.BadImageFormatException:“未能加载文件或程序集“Aurigma.GraphicsMill, Version=10.5.190.0, Culture=neutral, PublicKeyToken=f4bbbf243f314012”或它的某一个依赖项。试图加载格式不正确的程序。”>
|
|
|
|
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.