I have viewed this question, but it does not seem to actually answer the question that I have. I have a, image file, that may be any resolution. I need to load that image into a BufferedImage
Object at a specific resolution (say, for this example, 800x800). I know the Image class can use getScaledInstance()
to scale the image to a new size, but I then cannot figure out how to get it back to a BufferedImage
. Is there a simple way to scale a Buffered Image to a specific size?
NOTE I I do not want to scale the image by a specific factor, I want to take an image and make is a specific size.