[Gambas-user] Comparing 2 pictures

Rob sourceforge-raindog2 at ...94...
Mon Aug 10 16:25:51 CEST 2009


On Monday 10 August 2009 09:58 am, richard terry wrote:
> > But if both pictures are guaranteed to be the same size, something as
> > simple as converting each one to text-based PPM format and using diff
> > should be sufficient.
>
> thanks, but whats a PPM format? (sorry I'm image illiterate)

It's just another format like PNG or JPG, but it can be optionally text-
based.  Assuming you have ImageMagick installed on your system, if you go

convert myimage.jpg -compress none test.ppm

and then "less test.ppm", you'll see that it's written as a plain text 
file.

Rob





More information about the User mailing list