Rank: Member
Groups: Guest
Joined: 8/15/2006(UTC) Posts: 13
|
I have images with embedded color profile Adobe 1998. I have to convert color profile of the images to sRGB. If I do the following will it work? Code:Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap();
bitmap.ColorManagement.ColorManagementEnabled = true;
bitmap.Load(strFilename);
bitmap.ColorManagement.RgbColorProfile = Aurigma.GraphicsMill.ColorProfile.FromSrgb();
bitmap.ColorManagement.ConvertToContinuous(Aurigma.GraphicsMill.ColorSpace.Rgb, false, bitmap.IsExtended);
bitmap.Save(newImageNameWithPath);
bitmap.Dispose();
Edited by user Wednesday, December 19, 2007 2:45:54 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, This code sample is correct. The saved file should contain sRGB color profile. |
|
|
|
|
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.