"missing image filename" error from compare program

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
fmw42
Posts: 25106
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "missing image filename" error from compare program

Post by fmw42 » 2018-04-26T16:55:50-07:00

Code: Select all

magick compare -metric MSE $f1 $f2 NULL: 2>&1 >> /file
Output from compare goes to stderr not stdout. So you have to add 2>&1

Post Reply