Lines Matching defs:image

94 import java.awt.image.BufferedImage;
95 import java.awt.image.ImageObserver;
96 import java.awt.image.RenderedImage;
97 import java.awt.image.WritableRaster;
98 import java.awt.image.ColorModel;
111 import sun.awt.image.ImageRepresentation;
112 import sun.awt.image.ToolkitImage;
1294 "not an image format");
1297 Image image = (Image)obj;
1298 byte[] bytes = imageToPlatformBytes(image, format);
1302 "cannot convert java image to native format");
1783 Image image = platformImageBytesOrStreamToImage(str, bytes, format);
1785 return image;
2063 * platform-specific image data in the given format into an Image.
2072 * an image data in the given standard format into an Image.
2074 * @param mimeType image MIME type, such as: image/png, image/jpeg, image/gif
2088 " an image from " + mimeType);
2119 + " an image from " + mimeType);
2127 * specific image data in the given format.
2129 protected abstract byte[] imageToPlatformBytes(Image image, long format)
2134 * an image data in the given standard format.
2136 * @param mimeType image MIME type, such as: image/png, image/jpeg
2138 protected byte[] imageToStandardBytes(Image image, String mimeType)
2146 " an image to " + mimeType);
2149 if (image instanceof RenderedImage) {
2150 // Try to encode the original image.
2152 return imageToStandardBytesImpl((RenderedImage)image, mimeType);
2161 if (image instanceof ToolkitImage) {
2162 ImageRepresentation ir = ((ToolkitImage)image).getImageRep();
2167 width = image.getWidth(null);
2168 height = image.getHeight(null);
2181 g.drawImage(image, 0, 0, width, height, null);
2256 * platform-specific image data during image transfer on Win32.