How to resize/rescale an image in Java
How would I resize a Java Image so that its size would be 1000 by 1000 px. It would be cool if it's like 1-3 lines of code. Thanks!
Try this. It works for me:
Image yourResizedImage = yourImage.getScaledInstance(YOUR_WIDTH, YOUR_HEIGHT, java.awt.Image.SCALE_SMOOTH) ;