title: How to scale down the size and quality of an BufferedImage?
body: <p>I'm working on a project, a client-server application named 'remote desktop control'. What I need to do is take a screen capture of the client computer and send this screen capture to the server computer. I would probably need to send 3 to 5 images per second. But considering that sending <code>BufferedImage</code> directly will be too costly for the process, I need to reduce the size of the images.  The image quality need not to be loss less.</p>
  
  <p>How can I reduce the byte size of the image? Any suggestions?</p>