Search code examples
imagemagickidentify

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.


Solution

  • Try this

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