Re: [Gambas-user] Comparing 2 pictures

2009-08-13 Thread Fabien Bodard
mabe something interresting in the motion project 2009/8/10 Rob : > 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 suffi

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Rob
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'

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread richard terry
On Mon, 10 Aug 2009 11:38:02 pm Rob wrote: > On Monday 10 August 2009 08:42 am, Doriano Blengino wrote: > > There is a program called GQView (and probably others) which have > > algorithms to compare two images in the right way - ie scale them to > > same size, compress colors and normalize them, t

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Rob
On Monday 10 August 2009 08:42 am, Doriano Blengino wrote: > There is a program called GQView (and probably others) which have > algorithms to compare two images in the right way - ie scale them to > same size, compress colors and normalize them, then compare pixel by > pixel using a good tolerance

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Werner
richard terry wrote: > On Mon, 10 Aug 2009 10:15:20 pm Werner wrote: > >> richard terry wrote: >> >>> Hi all, >>> >>> i wondered if anyone could tell me how to comparea picture1 to picture 2 >>> and tell if they were different (ie one had been changed in some way? >>> >>> thanks in anticipa

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Doriano Blengino
richard terry ha scritto: > Hi all, > > i wondered if anyone could tell me how to comparea picture1 to picture 2 and > tell if they were different (ie one had been changed in some way? > This is very difficult, if your images are slightly different but a human would say they are the same. I e

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Jean-Yves F. Barbier
richard terry a écrit : > Hi all, > > i wondered if anyone could tell me how to comparea picture1 to picture 2 and > tell if they were different (ie one had been changed in some way? The fastest way is to use cmp (comes from 'diff' package): cmp pic1 pic2 and test the returned value -- Do wha

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Jean-Yves F. Barbier
richard berry a écrit : ... > good idea, I'll try that. > > I'm just writing my skin excision module and I've set it up so that I can > load > a photo-graph into the drawing editor and add lines etc, or shapes to outline > the exicision, but want to be able to know if there were actually any

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread richard terry
On Mon, 10 Aug 2009 10:15:20 pm Werner wrote: > richard terry wrote: > > Hi all, > > > > i wondered if anyone could tell me how to comparea picture1 to picture 2 > > and tell if they were different (ie one had been changed in some way? > > > > thanks in anticipation. > > > > Richard > > > > ---

Re: [Gambas-user] Comparing 2 pictures

2009-08-10 Thread Werner
richard terry wrote: > Hi all, > > i wondered if anyone could tell me how to comparea picture1 to picture 2 and > tell if they were different (ie one had been changed in some way? > > thanks in anticipation. > > Richard > > --

[Gambas-user] Comparing 2 pictures

2009-08-10 Thread richard terry
Hi all, i wondered if anyone could tell me how to comparea picture1 to picture 2 and tell if they were different (ie one had been changed in some way? thanks in anticipation. Richard -- Let Crystal Reports handle the r