Page 1 of 1

Compare metrics export to text

Posted: 2018-07-24T22:52:09-07:00
by victorzx
Hello,

I have two image that I want to compare suing psnr metrics

I used:

compare -metric psnr a.jpg b.png NULL, so its give me a number,

I want to export that result value to a text file so I tried

compare -metric psnr a.jpg b.png NULL >> texto.txt but its not work,

so is that possible?
IM 7.0.7 win 10

Re: Compare metrics export to text

Posted: 2018-07-25T01:29:20-07:00
by snibgo
The text data is sent to stderr, not stdout, so use "2>" or "2>>".