Page 1 of 1
How can I check ImageMagic commands, whether they have been carried out correct?
Posted: 2015-08-13T07:26:11-07:00
by Darknet
How can I check ImageMagic commands, whether they have been carried out correct ?
How can I check if that image was assembled correctly?
Re: How can I check ImageMagic commands, whether they have been carried out correct?
Posted: 2015-08-13T07:44:33-07:00
by snibgo
If the command fails, it returns a non-zero status. Your script language has a facility for testing this. In Windows BAT:
Code: Select all
convert {blah blah}
if ERRORLEVEL 1 echo "Something bad happened.
Darknet wrote:How can I check if that image was assembled correctly?
First, define "correctly". Then test for that condition being true.
Re: How can I check ImageMagic commands, whether they have been carried out correct?
Posted: 2015-08-19T01:36:31-07:00
by Darknet
How can I check if that image was assembled correctly?
First, define "correctly". Then test for that condition being true.
The error is that the images are loaded correctly and not always as a background a gray area appears
Re: How can I check ImageMagic commands, whether they have been carried out correct?
Posted: 2015-08-19T06:49:26-07:00
by snibgo
If you give the command, input images and output result, advice might be more specific. Please also say what version IM you are using, on what platform.
Re: How can I check ImageMagic commands, whether they have been carried out correct?
Posted: 2015-08-20T04:26:35-07:00
by Darknet
Version: ImageMagick 6.8.9-9 Q16 i686 2014-11-05
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Betriebssytem: Linux welche Version weiß ich nicht.