I am working on image processing . I have a buffered image of fixed size
BufferedImage targetImage = new BufferedImage(320, 240,BufferedImage.TYPE_INT_RGB);
Lets say Original Buffered image is of size 180 by 240 .
Now I want to load Original Image(180X240) to target Image(320X240) or somehow change scaledImage width and height to 320 by 240 which will have white padding at bottom.
Thanks in advance.