I am using ImageMagick 6.7.2-7 2016-05-09 on CentOS6.
I need to get the colorspace listed within the results of
Code: Select all
identify -verbose 40449545.converted.11.jpg
Code: Select all
identify -format %[colorspace] 40449545.converted.11.jpg
Code: Select all
[root@svr-h002607 tmp]# identify -format %[colorspace] 40449545.converted.11.jpg
Gray
[root@svr-h002607 tmp]# identify -verbose 40449545.converted.11.jpg | grep Colorsp
Colorspace: RGB
Thank you!
P.S. I'm not very familiar with IM or image manipulation in general, this is just something I need to do as part of a script.