"magick nofile output.png" is too verbose

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.
Post Reply
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

"magick nofile output.png" is too verbose

Post by glennrp » 2017-07-30T16:53:18-07:00

This is a followup to a complaint on the Kudos and Rants Forum.

IM7 is too verbose when it can't find a file, as in

Code: Select all

magick nothing.jpg output.png
Im6 only emits 2 lines while im7 seems to get into "property.c" with invalid input,
and emits about 3 more error messages.

Also, "magick convert nothing.jpg output.png" only emits one line. It's just when
the "convert" is omitted that you get extra complaints from property.c.

It looks as though magick is stumbling into line 819 of MagickWand/magick-cli.c
after the image reader fails to find a file.

User avatar
magick
Site Admin
Posts: 11043
Joined: 2003-05-31T11:32:55-07:00

Re: "magick nofile output.png" is too verbose

Post by magick » 2017-07-30T17:09:52-07:00

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.

Post Reply