Identify colorspace?
Posted: 2016-06-15T03:55:22-07:00
Hello,
I am using ImageMagick 6.7.2-7 2016-05-09 on CentOS6.
I need to get the colorspace listed within the results of
The following is supposed to do it:
But it doesn't return what I see in the first identify command. For instance:
Why is there a discrepancy?
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.
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.