Java: Send BufferedImage through Socket with a low bitdepth

Posted by Martijn Courteaux on Stack Overflow See other posts from Stack Overflow or by Martijn Courteaux
Published on 2010-03-08T18:38:47Z Indexed on 2010/03/08 18:51 UTC
Read the original article Hit count: 547

Hi,

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.

So, the goal is to write the image (with the full resolution) through the OuputStream with a very small size.

Thanks,
Martijn

© Stack Overflow or respective owner

Related posts about java

Related posts about bufferedimage