994153 wrote:You can't - the resize is going to alter the resolution whether you like it or not. You can do a best effort only which is going to have varying results depending on the image. Do a google for "java2d scaling quality" to find information related to it, I'm not going to repeat that which has already been asked and answered countless times. Feel free to visit when you have a problem that can't be answered with at least a tiny bit of research.
I am having the bitmap image of dimensions 812*1218, I want to resize the image dimensions to 400*600 without losing the clarity/resolution of the image using java code. Appreciate if anybody can help on this!