devoleg / php-fast-image-compare
Image Comparer with different aspect ratios and sizes. Can extract duplicate and unique images in directory and much more.
1.0.11
2022-05-10 04:50 UTC
Requires
- php: >=7.0
- ext-gd: *
- ext-imagick: *
- gumlet/php-image-resize: 1.7.0
- marc1706/fast-image-size: >1.1
- symfony/cache: >4.0
- symfony/var-dumper: >4.0
Requires (Dev)
- phpunit/phpunit: ^7
README
PHP library for comparing images
Originally by https://github.com/yncki
What this library does
- compare two images
- check two images are similar or different
- find duplicate images in array or in directory,
- find unique images in array or in directory
- compare images ( with different sizes and aspect ratios too),
- compare image arrays,
- return percentage difference between images
- supports jpg, png, bmp, webp
Requirements
In order to load and compare images, the library relies on the ImageMagick extension.