/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
fileType); g2.drawImage(image, null, null); ImageIO.write(bufferedImage, fileType, imageFile); return imageFile.getPath(); }