Changed to use ImageIO directly