Page 1 of 1
identify -version
Posted: 2016-05-12T06:13:46-07:00
by snibgo
In v6.9.2-5 (pre-built Windows binary) and v6.9.3-7 (Cygwin build), the result of
is 0 (zero).
In v7.0.1-0, the result is 1 (one), the error condition.
Is this a bug, or a new feature?
Re: identify -version
Posted: 2016-05-12T11:44:23-07:00
by dlemstra
This is a bug and this has been fixed:
http://git.imagemagick.org/repos/ImageM ... 86695dfa51. This will be resolved in the next version of IM7.
Re: identify -version
Posted: 2016-05-12T12:03:12-07:00
by fmw42
On my Mac OSX:
identify -version
Version: ImageMagick 6.9.4-1 Q16 x86_64 2016-05-12
http://www.imagemagick.org
echo $?
0
im7 magick identify -version
Version: ImageMagick 7.0.1-3 Q16 x86_64 2016-05-12
http://www.imagemagick.org
echo $?
1
im7 magick -version
Version: ImageMagick 7.0.1-3 Q16 x86_64 2016-05-12
http://www.imagemagick.org
echo $?
0
Re: identify -version
Posted: 2016-05-17T06:43:31-07:00
by kayn
Please, fix that also for convert:
Code: Select all
[root@examle.com]# convert -version;echo $?
Version: ImageMagick 7.0.1-4 Q16 x86_64 2016-05-17 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib djvu freetype jng jp2 jpeg png tiff xml zlib
1
[root@examle.com]# identify -version;echo $?
Version: ImageMagick 7.0.1-4 Q16 x86_64 2016-05-17 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib djvu freetype jng jp2 jpeg png tiff xml zlib
0
Re: identify -version
Posted: 2016-05-17T12:59:53-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @
https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @
http://www.imagemagick.org/download/beta/ by sometime tomorrow.
Re: identify -version
Posted: 2016-05-18T11:23:54-07:00
by snibgo
In v7.0.1-4 on Windows, the "identify -version" return code is now 0, so fixed. Thanks.
"magick -version" returns 0, so that is also correct.
However, "convert -version" returns 1 under v7. Under v6, it returned 0. This is also true of "magick convert -version".