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

Notification

Icon
Error

Options
Go to last post Go to first unread
wijesena  
#1 Posted : Sunday, September 10, 2006 9:10:21 PM(UTC)
wijesena

Rank: Member

Groups: Member
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

Dmitry  
#2 Posted : Monday, September 11, 2006 7:07:08 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
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.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Similar Topics
IE crash if .jpg has embedded color profile : iMac (Discussions – ActiveX/Java Uploader)
by bjleblanc 1/21/2008 3:34:52 AM(UTC)
draw image with embedded Color Profile (Discussions – Graphics Mill)
by camelord 9/27/2006 10:31:02 PM(UTC)
Problem saving image with embedded color profile (Discussions – Graphics Mill)
by persa 12/1/2005 11:46:51 PM(UTC)
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.