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?
