The imagetest package asserts the equality of two images
between a tolerance interval using a naive distance algorithm. It's
useful in black-box testing for comparing the expected screen with the
actual one. In future it may grow in a complete suite of matching tool
for images.
Compare compares two images with a naive "distance" algorithm. It
returns a distance value from 0 (identical images) to 1 (totally
different images). If adjust is not nil, Images are adjusted by
before comparaison.
Adjust adjusts the two images aligning ther centers. The background
of the smaller image is filled with FillColor. The returned images
are of the same size.