Playing around with the BufferedImage class