Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2016-05-12T06:13:46-07:00
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?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2016-05-12T12:03:12-07:00
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
kayn
Posts: 2 Joined: 2016-05-16T06:58:19-07:00
Authentication code: 1151
Post
by kayn » 2016-05-17T06:43:31-07:00
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
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2016-05-18T11:23:54-07:00
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".