how to get compare metric output via java/.bat file

Elisa Sanchez <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
Hello,

Anyone knows how to retrieve the output of the "compare -metric" command via java or .bat file? 

The following doesn't work (myFile.txt will be empty)
compare -metric MSE image1.png image2.png res.png > myFile.txt

And Runtime.getRuntime().exec doesn't work either...

Any help would be greatly appreciated.


      ____________________________________________________________________________________
¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.