Remove/Change ICC Profile

Discussions about image processing and document imaging.
Post Reply
BCWGuy
Posts: 19
Joined: Fri Jun 03, 2011 8:05 pm

Remove/Change ICC Profile

Post by BCWGuy » Thu Nov 03, 2011 3:33 pm

I have a TIF file with an Adobe RGB ICC profile attached. I want to convert (not just 'assign') it to an sRGB ICC profile in a JPG.

In Photoshop, I do this:
Edit menu, Convert To Profile menu, convert to sRGB (NOT 'assign').
File menu, Save As, JPG, with Embedded profile.

There is no visible color difference in the JPG when loaded into Photoshop.

I am trying to recreate the same process with gdPicture, but not having luck. The basic code is this:

Imager.CreateImageFromFileICM( Src );
// I also resize the image
Imager.SaveAsJPEG( Dest, 100 );

I've also tried various versions using ICCAddFromFile and ICCAddProfileFromFile, but the JPG image I get from gdPicture is noticably more saturated than the Photoshop version, and doesn't indicate an ICC file is embedded.

How can I get GDPicture to make the same-looking JPG from a TIF as Photoshop does?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Remove/Change ICC Profile

Post by Loïc » Tue Dec 13, 2011 4:22 pm

Hi,

This feature is supported for TIFF format only in GdPicture ActiveX through the ICCAddProfileToFile method.
In GdPicture.NET we also support JPEG & PNG formats.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests