Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2008 17:33:59 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        FreeBSD <freebsd@optiksecurite.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to compare 2 images from command line
Message-ID:  <20080902173310.E18363@wojtek.tensor.gdynia.pl>
In-Reply-To: <48BD5574.7010107@optiksecurite.com>
References:  <48BD5574.7010107@optiksecurite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm trying to determine if 2 jpeg images are identical. The images are 
> screenshots taken with scrot at different times. The point is to know if the 
> display is working correctly. I tried to use 'diff' but without success, 
> probably because of the metadata included in the image. I also tried the

cmp does byte-to byte comparision.

if you want to make sure uncompressed bitmaps are the same then uncompress 
(cmp) and then compare



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080902173310.E18363>