Page 1 of 1

identify: %[colorspace] is not displayed when I use format option

Posted: 2016-12-02T03:55:00-07:00
by apescione
With the same image, I have two different behaviour for two different version of identify.

Command:
identify -define registry:temporary-path=/tmp -quiet -ping -format '%m %w %h %z %[colorspace]' fileImage.jpg

With version: ImageMagick 6.7.7-10 2016-11-14, work fine and its output is:

JPEG 1024 768 8 sRGB


With version : ImageMagick 6.2.8 05/07/12 Q16, %[colorspace] is not shown:

JPEG 1024 768 8

I am not administrator of this last enviroment, so I think I can not update this ImageMagick version. can I have same result with another option? can I resolve this issue? what am I doing wrong?

Please help me,

Thank you

Re: identify: %[colorspace] is not displayed when I use format option

Posted: 2016-12-02T05:12:09-07:00
by snibgo
v6.2.8 is very very very old. I suggest you ask your administrator to update it. v6.7.7 is also very old, and should be updated.

In 6.2.8, perhaps "identify" or "identify verbose" gives the colorspce. However, IM wasn't clever with colorspaces back then, so it might report the wrong colorspace.

Re: identify: %[colorspace] is not displayed when I use format option

Posted: 2016-12-02T08:32:42-07:00
by apescione
Ty... I will ask to my admin an update. What's version good for Centos 5.7 Final?