mirror of
https://github.com/lovell/sharp.git
synced 2026-01-18 16:13:17 +00:00
Add `Sharp.compare(file1, file2, callback)` function for comparing images using mean squared error (MSE). This is useful for unit tests. See: - https://github.com/jcupitt/libvips/issues/291 - http://entropymine.com/imageworsener/resizealpha/