Search found 3 matches

by xnooby
2011-05-28T10:10:10-07:00
Forum: Users
Topic: Is it possible for convert to return a "-1" ?
Replies: 5
Views: 9966

Re: Is it possible for convert to return a "-1" ?

Thanks, we will try using "convert -quiet -regard-warnings...". When I googled -regard-warnings, it seems it is generally used with "-quiet", so we will try them together.

Or are you suggesting just use the "-regard-warnings" ?
by xnooby
2011-05-27T06:16:11-07:00
Forum: Users
Topic: Is it possible for convert to return a "-1" ?
Replies: 5
Views: 9966

Re: Is it possible for convert to return a "-1" ?

When ImageMagick has an error, say convert is called with a non-existent file as input, does it display a message saying what the error is, and then return a "1" ?
by xnooby
2011-05-26T21:00:08-07:00
Forum: Users
Topic: Is it possible for convert to return a "-1" ?
Replies: 5
Views: 9966

Is it possible for convert to return a "-1" ?

Is it possible for convert to return a "-1" ? A friend of mine is using Cygwin's 6.4.0 version of ImageMagick to run the convert program, and apparently receives a "-1" return code from convert. After some searching, it appears the ImageMagick programs only return a 0 (success) or a 1 (failure). So ...