PHP Classes
elePHPant
Icontem

Images Comparison Class: Compare two images to check if they are identical

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2010-07-22 (6 years ago) RSS 2.0 feedStarStar 33%Total: 1,097 All time: 3,316 This week: 707Up
Version License PHP version Categories
images-comparison 0.1Free To Use But R...5.0PHP 5, Graphics
Description Author

This class can be used to compare two images to check if they are identical.

It can traverse two given images in the PNG format of the same size to determine which pixels are different.

The class can circle or fill the areas that are different with a given color. The resulting image is displayed as the current output in the PNG format.

Innovation Award
PHP Programming Innovation award nominee
August 2010
Number 8
Sometimes it is necessary to evaluate whether two images are identical in order to figure if one may be at least a partial copy of the other.

This class provides a pure PHP solution to compare two images and shows graphically how similar the images can be.

Manuel Lemos
Name: Kai Ming Choi <contact>
Classes: 15 packages by
Country: Hong Kong Hong Kong
Age: 24
All time rank: 5143 in Hong Kong Hong Kong
Week rank: 983 Down3 in Hong Kong Hong Kong Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file ImagesComparison.class.php Class main class
Accessible without login Plain text file example.php Example example
Accessible without login Image file a.png Photo example file
Accessible without login Image file b.png Photo example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,097
This week:0
All time:3,316
This week:707Up
User Ratings User Comments (3)
 All time
Utility:33%StarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:33%StarStar
Rank:2996
 
Beware! This program works well with the supplied example, b...
5 years ago (Steve Dix)
27%StarStar
Why it compares only *.
6 years ago (Mike Oakley)
17%Star
It doesn't work
6 years ago (Senex Senis)
12%Star