Maskcomp is a library utility to compare two images, like iPhone screenshots, optionally with a mask.