Page 1 of 1

How to use EXIF Color Profile?

Posted: 2007-04-02T11:10:57-07:00
by sanderton
Hello!

Does anybody know where I can find some information and/or examples on how to use the exif:InterColorProfile attribute?

Basically, I just need to know where I can find the actual profile once I get the name. Would it be the same as the embedded ICC profile that can be extracted by using the Image::iccColorProfile() function?

Many thanks for any help on this,
sanderton

Re: How to use EXIF Color Profile?

Posted: 2007-04-02T11:34:44-07:00
by magick
Use attribute() with a name of exif:InterColorProfile to extract this image property. It returns a const char * so if the profile has an embedded zero byte that could be a problem. ImageMagick provides for zero byte blobs with the StringInfo structure so we may need to code up an attribute() method to support StringInfo.

Re: How to use EXIF Color Profile?

Posted: 2007-04-02T13:22:41-07:00
by sanderton
Thanks Magick!