org.netbeans.jemmy.image
Interface ImageComparator
- All Known Implementing Classes:
- ColorImageComparator, RoughImageComparator, StrictImageComparator
public interface ImageComparator
Interface for all classes performing image comparision.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
compare
boolean compare(BufferedImage image1,
BufferedImage image2)
- Should return true if images matches, false otherwise.
- Parameters:
image1
- an image to compare.image2
- an image to compare.
- Returns:
- true if images match each other.