Search found 2 matches

by lunchtimecinema
2013-01-24T05:51:17-07:00
Forum: Users
Topic: log compare score
Replies: 2
Views: 2941

Re: log compare score

yes, that now works thanks!
Correct version:

Code: Select all

output = subprocess.Popen(["compare","-metric","PSNR",path + "before.jpg", path + "after.jpg", path + "difference.jpg"], stderr=subprocess.PIPE).stderr
score = output.read()
by lunchtimecinema
2013-01-24T05:35:29-07:00
Forum: Users
Topic: log compare score
Replies: 2
Views: 2941

log compare score

Hello, Im new to ImageMagick and would like to use the compare function in terminal as suggested: $ compare -metric PSNR rose.jpg reconstruct.jpg difference.png but I'd like to save the output score (i.e. '28.31') to a text file (or other supported filetype) If this can be done via the terminal ...