Lines Matching refs:BufferedImage
36 import java.awt.image.BufferedImage;
47 t.doTest(BufferedImage.TYPE_3BYTE_BGR);
48 t.doTest(BufferedImage.TYPE_4BYTE_ABGR);
49 t.doTest(BufferedImage.TYPE_BYTE_GRAY);
50 t.doTest(BufferedImage.TYPE_INT_ARGB);
51 t.doTest(BufferedImage.TYPE_INT_BGR);
52 t.doTest(BufferedImage.TYPE_INT_RGB);
53 t.doTest(BufferedImage.TYPE_BYTE_INDEXED);
70 BufferedImage src = createTestImage(type);
72 BufferedImage res = null;
82 ((src.getType() != BufferedImage.TYPE_BYTE_INDEXED) &&
90 private BufferedImage createCompatible(ColorModel cm, int w, int h) {
91 return new BufferedImage (cm,
96 private BufferedImage createTestImage(int type) {
97 BufferedImage img = new BufferedImage(100, 100, type);
108 case BufferedImage.TYPE_3BYTE_BGR:
110 case BufferedImage.TYPE_4BYTE_ABGR:
112 case BufferedImage.TYPE_BYTE_GRAY:
114 case BufferedImage.TYPE_INT_ARGB:
116 case BufferedImage.TYPE_INT_BGR:
118 case BufferedImage.TYPE_INT_RGB:
120 case BufferedImage.TYPE_BYTE_INDEXED: