How can I generate diff image using Jmagick? 1 Answer(s) 2 years and 2 months ago
Posted in : Java Beginners
I used 'compare' in ImageMagick to produce diff image with metric.
$ compare -verbose -metric mae rose.jpg reconstruct.jpg difference.png
Channel distortion: MAE
red: 2282.91 (0.034835)
green: 1853.99 (0.0282901)
blue: 2008.67 (0.0306503)
all: 1536.39 (0.0234439)
I am not able to do this using Jmagick.
Can anybody help me get a diff image with similar metric using Jmagick.
Thanks in advance.
September 25, 2012 at 9:11 PM
May be I was not specific but I want make a java code using the above mentioned 'compare' command, can anybody help me.