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

This package is not auto-updated.

Last update: 2024-04-24 08:38:38 UTC


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.

Installation and Documentation

https://php-image-comparer.axl.pl