It's been a while since I've done any image manipulation.But, give this a try;Image image = Toolkit.getDefaultToolkit().getImage(<font color="#0066ff">"image.png"</font>);// attach observer, and make sure it's loaded.// image.getHeight(null), getWidth(null) might be useful...Image scaledImage= image.getScaledInstance(newHeightInPixels, newWidthInPixels, Image.SCALE_DEFAULT) ImageIcon icon = new ImageIcon(scaledImage);