title: Java: Send BufferedImage through Socket with a low bitdepth
body: <p>The title says enough I think.
  I have a full quality BufferedImage and I want to send it through an OutputStream with a low
  bitdepth. I don't want an algorithm to change pixel by pixel the quality, so it is still a full-quality.</p>
  
  <p>So, the goal is to write the image (with the full resolution, full size) through the OuputStream which takes a very little number of bytes to write.</p>
  
  <p>Thanks,<br>
  Martijn  </p>