[Gambas-user] Comparing 2 pictures

Jean-Yves F. Barbier 12ukwn at ...626...
Mon Aug 10 14:18:15 CEST 2009


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 what thou wilt shall be the whole of the Law.
		-- Aleister Crowley




More information about the User mailing list