Re: How to compare 2 images from command line

2008-09-03 Thread DA Forsyth
On 2 Sep 2008 , [EMAIL PROTECTED] entreated about freebsd-questions Digest, Vol 231, Issue 5: Yes, there's a huge difference between testing differences in images and testing differences in files. What do you mean by ...know if the display is working correctly.? Andrew I want to

How to compare 2 images from command line

2008-09-02 Thread FreeBSD
Hi everyone, 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

Re: How to compare 2 images from command line

2008-09-02 Thread Julien Cigar
/sbin/md5 image1.ext image2.ext ? On Tue, 2008-09-02 at 11:02 -0400, FreeBSD wrote: Hi everyone, 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

Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD
Tom Marchand a écrit : Hash the images and compare the hashes. -- Original message -- From: FreeBSD [EMAIL PROTECTED] Hi everyone, I'm trying to determine if 2 jpeg images are identical. The images are screenshots taken with scrot at different times. The

Re: How to compare 2 images from command line

2008-09-02 Thread Andrew Gould
On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD [EMAIL PROTECTED] wrote: Tom Marchand a écrit : Hash the images and compare the hashes. -- Original message -- From: FreeBSD [EMAIL PROTECTED] Hi everyone, I'm trying to determine if 2 jpeg images are identical.

Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD
Andrew Gould a écrit : On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Tom Marchand a écrit : Hash the images and compare the hashes. -- Original message -- From: FreeBSD [EMAIL

Re: How to compare 2 images from command line

2008-09-02 Thread Wojciech Puchar
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

Re: How to compare 2 images from command line

2008-09-02 Thread Polytropon
On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD [EMAIL PROTECTED] wrote: I want to determine if Mplayer is working correctly. The best way to be sure is to check if the display on the screen is changing. That's the purpose of the screenshots. And this works? I always thought mplayer would output

Re: How to compare 2 images from command line

2008-09-02 Thread Bill Moran
In response to FreeBSD [EMAIL PROTECTED]: Andrew Gould a écrit : On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Tom Marchand a écrit : Hash the images and compare the hashes. -- Original

Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD
Bill Moran a écrit : In response to FreeBSD [EMAIL PROTECTED]: Andrew Gould a écrit : On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Tom Marchand a écrit : Hash the images and compare the hashes. -- Original

Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD
Polytropon a écrit : On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD [EMAIL PROTECTED] wrote: I want to determine if Mplayer is working correctly. The best way to be sure is to check if the display on the screen is changing. That's the purpose of the screenshots. And this works? I always thought

Re: How to compare 2 images from command line

2008-09-02 Thread Andrew Gould
On Tue, Sep 2, 2008 at 10:31 AM, FreeBSD [EMAIL PROTECTED] wrote: Andrew Gould a écrit : On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD [EMAIL PROTECTED]mailto: [EMAIL PROTECTED] wrote: Tom Marchand a écrit : Hash the images and compare the hashes. -- Original

Re: How to compare 2 images from command line

2008-09-02 Thread FreeBSD
andrew clarke a écrit : On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD ([EMAIL PROTECTED]) wrote: Can you put the screenshots into some other format? As you mentioned, the jpeg format includes metadata, which might include the creation time and would cause every image to be unique from a

Re: How to compare 2 images from command line

2008-09-02 Thread andrew clarke
On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD ([EMAIL PROTECTED]) wrote: Can you put the screenshots into some other format? As you mentioned, the jpeg format includes metadata, which might include the creation time and would cause every image to be unique from a filesystem view. For example,