Lines Matching defs:image
47 import java.awt.image.ImageProducer;
48 import java.awt.image.ImageConsumer;
49 import java.awt.image.ColorModel;
56 * This class uses SANE to scan an image.
60 // # lines we incr. image height.
71 private int image[] = null; // Image that we build as we scan.
72 private int offset; // Offset within image in pixels if
95 * Tell consumers the image size.
114 System.out.println("image length=" + image.length);
123 ic.setPixels(x, y, w, h, cm, image, 0, width);
181 * Go to next line in image, reallocating if necessary.
187 if (y >= height || image == null)
189 int oldSize = image == null ? 0 : width*height;
196 newImage[i] = image[i];
201 image = newImage;
225 image[offset + i] |=
236 image[(offset + i)/3] |=
252 image[offset + i] |= (v<<16) | (v<<8) | (v);
279 image = null;
310 nextLine(); // Allocate image.
331 height = y; // For now, send whole image here.
347 image = null; // Allow buffer to be freed.
369 int pix = image[i];
380 int pix = image[i];