ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:14 AM

Title: Assigning (only) an icc profile
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by urbanstudio on 2008-01-14 19:40:59-08]

I need to simply assign a different icc profile and not actually convert the image.  Analogous to the assign feature in photoshop.  Is this possible with ExifTool?

Thanks
Title: Re: Assigning (only) an icc profile
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by exiftool on 2008-01-14 20:10:22-08]

Yes. You can either set the ICC profile from a file (ie. "file.icc"):

Code:
exiftool "-ICC_Profile<=file.icc" image.jpg

or copy it from another image which has the desired profile:

Code:
exiftool -tagsfromfile src.jpg -ICC_Profile image.jpg

of course, this also works for image types other than JPEG.

- Phil
Title: Re: Assigning (only) an icc profile
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by urbanstudio on 2008-01-15 01:10:42-08]

Thank you for your quick response.  I tried your command line instruction and it embeds the profile in the image.  As does an object from the module when I added it to my script:

$exifTool-&ltSetNewValuesFromFile($srcFile, 'ICC_Profile');
$exifTool-&ltWriteInfo($wrtFile);

Is there a method to assign the icc_profile without embedding.  OS X has a nice utility called SIPS which does it well but doesn't work for eps and I'd much prefer to use a pm

thanks
Title: Re: Assigning (only) an icc profile
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by exiftool on 2008-01-15 11:53:49-08]

I'm not familiar with how to assign a profile without embedding.
If you could send me a sample image with a profile assigned
like this then perhaps I can add this feature to exiftool.

Thanks.  My email is philharvey66 at gmail.com.

- Phil