ExifTool Forum

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

Title: Embed ICC Color Profile in JPEG
Post by: Archive on May 12, 2010, 08:53:56 AM
[Originally posted by gumpix on 2006-08-30 20:10:26-07]

Hi,
i would like to embed an ICC Color Profile like sRGB or AdobeRGB in a JPEG. How can i do that with Exiftool?
Thanks a lot for help!
Title: Re: Embed ICC Color Profile in JPEG
Post by: Archive on May 12, 2010, 08:53:56 AM
[Originally posted by exiftool on 2006-08-31 18:13:55-07]

First, you need a valid ICC profile to write into the file.  You can extract it from any other image containing
a profile with a command like this:

Code:
   exiftool -icc_profile -b src.jpg > profile.icc

Then this command writes the profile to "dest.jpg":

Code:
   exiftool "-icc_profile<=profile.icc" dest.jpg

- Phil
Title: Re: Embed ICC Color Profile in JPEG
Post by: Archive on May 12, 2010, 08:53:56 AM
[Originally posted by gumpix on 2006-09-01 15:54:27-07]

Thank you Phil!
It works perfect!!! :-)