How to compare 2 images from command line
- From: FreeBSD <freebsd@xxxxxxxxxxxxxxxxx>
- Date: Tue, 02 Sep 2008 11:02:12 -0400
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 'compare' command from imagemagick, but it produce an image containing the difference between the 2 images instead of telling me if both images are identical.
So, my question is what are you using to determine if 2 images are identical?
I'm using FreeBSD 7.0 and I need to be able to script this comparaison for an integration in Nagios.
freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Prev by Date: su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory, Any help?
- Next by Date: "SYSCTL" error message upon bootup
- Previous by thread: su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory, Any help?
- Next by thread: Re: How to compare 2 images from command line