Lines Matching refs:image
28 import java.awt.image.BufferedImage;
29 import java.awt.image.Raster;
30 import java.awt.image.RenderedImage;
35 * A simple container class to aggregate an image, a set of
37 * associated with the image.
39 * <p> The image data may take the form of either a
65 protected RenderedImage image;
81 * associated with the image.
96 * @param image a <code>RenderedImage</code>.
102 * @exception IllegalArgumentException if <code>image</code> is
105 public IIOImage(RenderedImage image,
108 if (image == null) {
109 throw new IllegalArgumentException("image == null!");
111 this.image = image;
140 this.image = null;
155 return image;
164 * @param image a <code>RenderedImage</code>.
166 * @exception IllegalArgumentException if <code>image</code> is
171 public void setRenderedImage(RenderedImage image) {
173 if (image == null) {
174 throw new IllegalArgumentException("image == null!");
176 this.image = image;
227 this.image = null;
242 * Returns a thumbnail associated with the main image.
244 * @param index the index of the desired thumbnail image.
246 * @return a thumbnail image, as a <code>BufferedImage</code>.