Answers for "how to resize the file to new size in java"

1

how to resize image in java swing

ImageIcon icon = new ImageIcon(UrlToPngFile);
Image scaleImage = icon.getImage().getScaledInstance(28, 28,Image.SCALE_DEFAULT);
Posted by: Guest on October-23-2020

Code answers related to "how to resize the file to new size in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language