[Image-SIG] Anyway to keep ICC profiles intact (e.g. sRGB)?

Eric Clack eric at bright-interactive.com
Wed Jun 4 19:17:27 CEST 2008

Frédéric, that looks to be just what I need :-)-Eric.

2008/6/4 Frédéric <frederic.mantegazza at gbiloba.org>:

> Le 4/6/2008, "Eric Clack" <eric at bright-interactive.com> a écrit:
> > My knowledge is very limited when it comes to colour profiles, so I might
> be
> > describing something that is impossible here, but isn't the colour
> profile
> > information just a tag, or piece of metadata that I could copy from image
> to
> > image?
> In most cases, the profile is embedded. I don't now exactly where, but
> the current PIL version (1.1.6) does not read/write it. It is not stored
> in the EXIF table.
> If the profile is not embedded, the image is maybe just tagged (in the
> EXIF table), but currently, only sRGB as a standard definition there
> (even if more and more programs use AdobeRGB1998 too, it is not yet a
> standard).
> If you want to copy/paste profiles, use exiftool:
> $ exiftool -icc_profile -b -o profile.dat <image1>
> $ exiftool -icc_profile\<=profile.dat <image2>
> Also note that not all image format can embedded a profile (jpeg, tiff
> and pdf can).

Eric Clack
eric at bright-interactive.com

Bright Interactive : Successfully delivering interactive websites and
business applications
+44 (0) 1273 201 112

Registered in England No. 3865036. VAT Reg. No. 786 6073 86
Registered Office: 12-13 Ship Street, Brighton, East Sussex, BN1 1AD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20080604/f00df3c0/attachment.htm>

More information about the Image-SIG mailing list