convert -version
"chris.com" <[email protected]> Tue, 30 Jun 2009 23:29:08 +0200
| Newsgroups | gmane.comp.video.image-magick.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have a small question about the "convert" command return code. In GNUpod (http://www.gnu.org/software/gnupod/) the "convert -version" command is used to determine (with configure) whether ImageMagick is installed. In the debian ImageMagick 6.3.7 the return code was 0 $ convert -version ; echo $? Version: ImageMagick 6.3.7 12/10/08 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC 0 In the ubuntu 6.4.5 version however the return code is 1 $ convert -version ; echo $? Version: ImageMagick 6.4.5 2009-01-22 Q16 OpenMP http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC 1 "configure" concludes that ImageMagick is not installed because of the return code. Can you tell me please whether this is a bug? Maybe there is a better way to determine whether ImageMagick is installed? Thanks a lot chriss