remove sun proprietary API(Image) and change to ImageIO