Compare two PNG images using rmagick

Hi,
I am looking for a code snippet to compare two PNG images using rmagick.

Can anybody help me in this regard.

Thanks,
Anil kumar

On Thu, Jul 9, 2009 at 5:56 AM, Anil G.[email protected] wrote:

Hi,
I am looking for a code snippet to compare two PNG images using rmagick.

Yeah, you could google “PNG rmagick”, then read some documentation,
then implement it yourself.
If you run into specific problems with a certain feature, I’m sure
someone here will be happy to help you, so long as you let them know
specifically what you want to do.

-greg

Anil G. wrote:

Hi,
I am looking for a code snippet to compare two PNG images using rmagick.

Can anybody help me in this regard.

Thanks,
Anil kumar

http://studio.imagemagick.org/RMagick/doc/image1.html#compare_channel

This is working like charm, even with semi-duplicate images:

Tutorial and explanation here: