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

Notification

Icon
Error

Options
Go to last post Go to first unread
valbros  
#1 Posted : Friday, November 11, 2005 12:25:27 PM(UTC)
valbros

Rank: Member

Groups: Member
Joined: 11/11/2005(UTC)
Posts: 9

Hello,

I'm trying to apply a custom icc (version 4) profile to an rgb image with Graphics

Mill ActiveX.

Code follows:

Code:
  var bmp = Server.CreateObject("GraphicsMill.Bitmap");

  bmp.LoadFromFile(Server.MapPath('myfile.jpg'));
  if (bmp.Data.ColorManagement.DataProfile == '')  
    bmp.Data.ColorManagement.DataProfile = Server.MapPath('/prf/adobe1998.icc'); 

  bmp.Data.ColorManagement.RgbProfile = Server.MapPath('/prf/adobe1998.icc');
  bmp.Data.ColorManagement.TargetProfile = Server.MapPath('/prf/myprofile.icc');
  bmp.Data.ConvertTo24bppRgb();

  bmp.Data.SaveToStream(Response);

The difference displayed with the custom profile is much different than

when viewing it in Photoshop Proof setup. Specifically the image renders

with much more yellow than it does in Photoshop with the same profile.

How can I get the two previews to look the same?

Regards,

Bobby Valentine

Edited by user Sunday, December 23, 2007 5:02:53 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Friday, January 6, 2006 12:20:43 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 873

Thanks: 2 times
Was thanked: 26 time(s) in 26 post(s)
Try these DLLs:

http://www.aurigma.com/Download...aphicsMill20DllsOnly.zip

It should have better color management.

If you still have any problems, please submit case.

Edited by user Friday, May 23, 2008 2:18:45 PM(UTC)  | Reason: Not specified

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.