Evaluation protocol:

A small number of web images are collected from the VPN trace.  These images are first converted to lossless formats (png and pnm).  The programs jpeg, jasper and webp are then used to compress the images with various quality numbers and then decompress to a lossless format.  The program imgcmp is used to compare the original image and the decompressed images.  Compression ratio is the size of the compressed file divided by thatof the lossless png file.

A few error bars are also shown for jpeg with quality=30 as reference.  This configuration is with noticable yet tolerable noise.  (These bars fall into two groups: photos and cartoons.  The baseline PNG is good at compressing cartoons, so jpeg has a relatively low compression ratio and high error for this group.)

The two performance measures lead to the same conclusion:  webp wins when compression ratio < 0.12, and jpeg 2000 wins when compression ratio > 0.12.  The performance of jpeg is always comparable to the worse of the other two.  

ui ui

Sample images. ui

Image Format Distribution: - 1146 image/jpeg - 194 image/gif - 188 image/png

© 2017 Wei Dong