ernesthernandez/image-compare

Image Comparer with different aspect ratios and sizes. Can extract duplicate and unique images in directory and much more.

1.0.10 2022-07-11 17:19 UTC

This package is auto-updated.

Last update: 2024-11-11 22:43:19 UTC


README

PHP library for comparing images

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