I have an image which I resize:
if((width != null) || (height != null)) { try{ // scale image on disk BufferedImage originalImage = ImageI
You will want to check out Image.getScaledInstance(), and more in this answer: How to improve the performance of g.drawImage() method for resizing images