Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 392
tomazzlender Avatar asked Apr 25 '11 13:04

tomazzlender


1 Answers

Try this

identify -verbose wohnbereih_original.tif | grep -A 2 'Profile-icc'
like image 179
keepitreall89 Avatar answered Sep 27 '22 21:09

keepitreall89