Ejemplo n.º 1
0
 public void method569(Canvas arg0, int arg1) {
   aCanvas3808 = arg0;
   aRectangle3806 = new Rectangle();
   anInt636 = aCanvas3808.getSize().width;
   anInt634 = aCanvas3808.getSize().height;
   anIntArray630 = new int[anInt634 * anInt636];
   DataBufferInt databufferint = new DataBufferInt(anIntArray630, anIntArray630.length);
   int i = 69 / ((arg1 - 26) / 48);
   DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
   WritableRaster writableraster =
       (Raster.createWritableRaster(
           directcolormodel.createCompatibleSampleModel(anInt636, anInt634), databufferint, null));
   anImage3807 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable());
 }
 public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex) throws IOException {
   readHeader();
   LinkedList<ImageTypeSpecifier> l = new LinkedList<ImageTypeSpecifier>();
   l.add(new ImageTypeSpecifier(RGB, RGB.createCompatibleSampleModel(width, height)));
   return l.iterator();
 }