public void write(Image i, int which, File f) throws IOException
public void write(BufferedImage i, int which, File f) throws IOException
   public void write(Image i, int which, File f) throws IOException   {      BufferedImage bi =         new BufferedImage(            i.getWidth(this),            i.getHeight(this),            BufferedImage.TYPE_INT_RGB);      Graphics g = bi.getGraphics();      g.drawImage(i, 0, 0, this);      ImageIO.write(bi, descriptions[which], f);   }