I have tried to increase the pixel size of image. By using below code.
BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
img.getRaster().setPixels(0, 0, width, height, pixels);
But i am not able to crease the pixel size.
Could you please suggest me on this?