From: Serabe Date: 2009-02-28T01:08:46+09:00 Subject: Re: Image/Pattern Recognition 2009/2/27 Becky Franklin : > Thanks so much for the responses folks they've been so helpful! > > I think with a load of maths I can iterate through each of the squares > in the grid as it will only be black and white - unless Camellia or > RMagick have any sort of compare pixels functionality? Here: http://www.imagemagick.org/RMagick/doc/struct.html#Pixel Take a look at <=> and fcmp methods. Regards, Serabe -- http://www.serabe.com