hi
i am looking for libraries to compare bitmap images in png format. can
it be done in ruby?
seede
try RMagick the ruby interface to the ImageMagik libs
Junkone wrote:
hi
i am looking for libraries to compare bitmap images in png format. can
it be done in ruby?
seede
Yes. You want to look at the RMagick library - specifically, if you’re
trying to do a pixel-wise difference, you’ll want to look at the
Image#composite method, and the DifferenceCompositeOp CompositeOperator.
On 11/09/06, Junkone [email protected] wrote:
hi
i am looking for libraries to compare bitmap images in png format. can
it be done in ruby?
seede
It’s probably easiest to generate MD5 hashes for each file and compare
those.
Farrel