Changed Image to BufferedImage