It seems that "compare" outputs everything to STDERR. Why?

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
mattalexx

It seems that "compare" outputs everything to STDERR. Why?

Post by mattalexx »

It seems that "compare" outputs everything to STDERR. Is there a reason for this? It's making things a little confusing on my end.

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

Re: It seems that "compare" outputs everything to STDERR. Why?

Post by magick »

Not a bug.
It seems that "compare" outputs everything to STDERR. Is there a reason for this?
Why sure, otherwise the difference image is stuffed up if you write it to STDOUT:
  • compare -metric psnr image.png reconstruct.png png:-
Post Reply