Home Answers Viewqa Java-Beginners How can I generate diff image using Jmagick?

 
 


Chintan
How can I generate diff image using Jmagick?
1 Answer(s)      8 months ago
Posted in : Java Beginners

Hi,
I used 'compare' in ImageMagick to produce diff image with metric.
example:
$ compare -verbose -metric mae rose.jpg reconstruct.jpg difference.png
Image: rose.jpg
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.
View Answers

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.









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.