Lines Matching defs:image
23 package org.netbeans.jemmy.image;
25 import java.awt.image.BufferedImage;
44 * @param comparator - ImageComparator to be used for image comparision.
45 * @param loader - ImageLoader to be used for image loading.
53 * Compares an image with one stored in file. Comparision is performed by
57 * @param image an image to compare.
58 * @param fileName a file containing an image to compare.
61 public boolean compare(BufferedImage image, String fileName) {
63 return comparator.compare(image, loader.load(fileName));
65 throw (new JemmyException("IOException during image loading", e));
70 * Compares two image stored in files.. Comparision is performed by
74 * @param fileName1 a file containing an image to compare.
75 * @param fileName2 a file containing an image to compare.
83 throw (new JemmyException("IOException during image loading", e));