Getting ICC Profile Name
Posted: 2016-09-26T12:06:24-07:00
I need to inspect images to determine which processing steps I need to run, and one of the checks is to determine which if any ICC profile is embedded in the image. Is there a way to read the ICC profile name with identify? I can see that there is an ICC profile, but I cannot get any information about it.
I am running version
on Linux.
I have seen recommendations to use
but that just gives me
When I run the version I get from MacPorts I see the ICC profile name is a property that I can scrape from the output, but that does not help me on my linux target.
I am running version
Code: Select all
Version: ImageMagick 6.9.5-9 Q16 x86_64 2016-09-21 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC OpenMP
Delegates (built-in): bzlib djvu fontconfig freetype jng jpeg openexr pangocairo png tiff wmf x xml lib
I have seen recommendations to use
Code: Select all
identify -format "%[profile:icc]" /path/to/image
Code: Select all
identify: unknown image property "%[profile:icc]" @ warning/property.c/InterpretImageProperties/3785.
Code: Select all
Version: ImageMagick 6.9.5-8 Q16 x86_64 2016-09-21 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms ltdl lzma openexr png ps tiff webp x xml lib