Page 1 of 1

How to extract color profile via command line?

Posted: 2010-12-25T09:25:13-07:00
by the-ninth
Hi,

I have two image files, one with a color profile and another one without. I want to copy the color profile from the one that has it to the one without. This should be done without disturbing any of the other content.

I know that with convert I can add a profile to an image file, but how do I first get the profile out of the image file that has it?

Thanks, Robert

Re: How to extract color profile via command line?

Posted: 2010-12-26T16:05:01-07:00
by Massimo C.
convert image.tif profile.icc

Massimo C.

Re: How to extract color profile via command line?

Posted: 2010-12-26T23:16:00-07:00
by the-ninth
Thanks!

Re: How to extract color profile via command line?

Posted: 2011-02-08T09:08:52-07:00
by nniico
And what about the TIFF profile?
I have a TIFF image from Photoshop and it contains the following profiles (from identify -verbose) :

Code: Select all

  Profiles:
    Profile-8bim: 6252 bytes
    Profile-icc: 1528264 bytes
      ISO Uncoated
    Profile-tiff:37724: 100944 bytes
    Profile-xmp: 14548 bytes
Converting to TIFF will obviously output the whole image...