Loading...

Remove/Change ICC Profile

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Remove/Change ICC Profile

Postby 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?
BCWGuy
 
Posts: 4
Joined: Fri Jun 03, 2011 8:05 pm

Re: Remove/Change ICC Profile

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests

cron