tomazzlender
tomazzlender

Reputation: 1123

Identify profile-icc with Image Magick

Is there a way to return image profile with image magick command identify or some other command?

For example I have an image kitchen.jpg. This image has profile Euroscale Coated v2. I can see that by running identify -verbose kitchen.jpg.

...
  signature: ff8c7f0b6159ca8b63507c0a0eac0af64d639b19e871e13163fb53746a4c4ddd
  xapMM:DerivedFrom: 
Profiles:
  Profile-exif: 4869 bytes
  Profile-icc: 557164 bytes
    Euroscale Coated v2
  Profile-iptc: 7 bytes
    unknown[2,0]: 
  Profile-xmp: 7501 bytes
Artifacts:
  verbose: true
...

I tried identify -verbose wohnbereih_original.tif | grep 'Profile-icc' and it returns Profile-icc: 557164 bytes but than I don't now how to return next line.

Upvotes: 8

Views: 7466

Answers (3)

Key
Key

Reputation: 11

I did my research how to detect / identify ICC profile with imagemagick and reached this question.

Then, I found out

identify -format %[profile:icc] wohnbereih_original.tif

will available in imagemagick since version 6.8.7.2 (ref: http://www.imagemagick.org/discourse-server/viewtopic.php?t=24385 and http://www.imagemagick.org/discourse-server/viewtopic.php?t=24286)

For previous versions,

identify -verbose wohnbereih_original.tif | grep -A 2 'Profile-icc'

is a lifesaver.

Upvotes: 1

Kalyan Urimi
Kalyan Urimi

Reputation: 179

Try This

identify -format %[profile:icc] wohnbereih_original.tif

Upvotes: 1

keepitreall89
keepitreall89

Reputation: 1230

Try this

identify -verbose wohnbereih_original.tif | grep -A 2 'Profile-icc'

Upvotes: 4

Related Questions