How to use EXIF Color Profile?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sanderton

How to use EXIF Color Profile?

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: How to use EXIF Color Profile?

Post 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.
sanderton

Re: How to use EXIF Color Profile?

Post by sanderton »

Thanks Magick!
Post Reply