My web application allow the user to upload their image to view, and I want to compress the image before display them. What are good lossy image compression algorithm out there. I research around and this page here http://www.imageoptimizer.net/Pages/Home.aspx, does it perfectly. My image was 670KB and after the compression, it was only 150KB and the quality are almost the same.
1
votes
1 Answers
3
votes
JPEG is the de facto compression algorithm for photographic images.
For line-art type images it's common to use PNG or GIF format.
javax.io
. Thank you – Thang Pham