Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Visible difference in CMYK output between versions 8 & 9
Rank: Member
Groups: Guest
Joined: 3/21/2016(UTC) Posts: 23
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hey, I am simply drawing and filling a rectangle using CmykColor [C=204, M=46, Y=0, K=0, A=255] and the output between version 8 and 9 is different (see attached image). Any insight would be helpful. Quote:Bitmap baseImage = new Aurigma.GraphicsMill.Bitmap(System.IO.Path.Combine(new string[] { Config.AssetDirPath, "base.tif" })); CmykColor backgroundColor = (CmykColor)assetCache.First().Value.GetPixel(0, 0); // this is [C=204, M=46, Y=0, K=0, A=255] in both versions using (var graphics = baseImage.GetAdvancedGraphics()) { graphics.FillRectangle(new SolidBrush(backgroundColor), new System.Drawing.Rectangle(134, 0, baseImage.Width - 134, baseImage.Height)); } Thanks, Andrew
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/19/2016(UTC) Posts: 33
Was thanked: 1 time(s) in 1 post(s)
|
Hey Andrew, It's hard to say exactly what's the problem by using this code snippet. I need more information: 1) What happens with bitmap after this code? The full code sample will be appreciated. 2) How do you get colors? 3) Which editor/image viewer did you use to open the resulting file? Could you please send me the code sample, base.tif file, and both resulting files generated by GM 8 and 9? My email is y.khoptyan@aurigma.com. Best regards, Julia
|
|
|
|
Rank: Member
Groups: Guest
Joined: 3/21/2016(UTC) Posts: 23
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
I have sent you the email with a link to a sample app that demonstrates the issue.
|
|
|
|
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)
|
We confirm the problem and will fix it shortly (Aruigma Bug #0023293). I will keep you informed of the bug status. The problem occurs when there is an assigned color profile and color management is applied. So you can use the following workaround to fix the problem: Code:var colorProfile = bitmap.ColorProfile;
bitmap.ColorProfile = null;
using (var graphics = bitmap.GetAdvancedGraphics())
{
//Drawing
}
bitmap.ColorProfile = colorProfile;
Edited by user Sunday, May 7, 2017 11:46:06 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Newbie
Groups: Guest
Joined: 5/22/2017(UTC) Posts: 1
|
I have experienced the same issue and this workaround does not fixe or solve the issue. Is there a plan for a release to resolve this problem as this determines our purchase of the product. Thanks, Phil Sylvester
|
|
|
|
Rank: Member
Groups: Guest
Joined: 3/21/2016(UTC) Posts: 23
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: ps4ps I have experienced the same issue and this workaround does not fixe or solve the issue. You are 100% correct... this work around does not help out at all... I had to roll back to version 8 until a permanent fix is applied. It really sucks as I had to shelve a bunch of PDF code that works in 9 and replace it with some iTextSharp hacks.
|
|
|
|
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)
|
I am sorry, this is a high priority bug and we will fix in the nearest 1-2 weeks. I will keep you informed of the status. |
Best regards, Fedor Skvortsov
|
|
|
|
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)
|
We fixed the problem in the recently released version 9.1.14. The problem had place due to the new Graphics.BlendMode property introduced in the version 9 of Graphics Mill. We changed its default value from BlendMode.Normal to BlendMode.None for backward compatibility with the previous version. |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Visible difference in CMYK output between versions 8 & 9
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.