Hacker News new | ask | show | jobs
by z-e-r-o 4198 days ago
It's interesting how bad mozjpeg looks compared to classic jpeg compression tools like jpegoptim, given how many blogs have been writing about Mozilla creating the "ultimate" jpeg encoder. Comparing it with jpegoptim reveals that at the small-medium-large sizes mozjpeg produces a result with more visual artefacts.

  wget http://xooyoozoo.github.io/yolo-octo-bugfixes/comparisonfiles/Original/Ricardo_Quaresma-L-,_Pablo_Zabaleta-R-Portugal_vs._Argentina,_9th_February_2011.png -O src.png
  convert src.png -quality 100 -sampling-factor 1x1 full.jpg
  jpegoptim -s full.jpg -S85 --stdout > s85.jpg
  jpegoptim -s full.jpg -S50 --stdout > s50.jpg
  jpegoptim -s full.jpg -S30 --stdout > s30.jpg
  jpegoptim -s full.jpg -S18 --stdout > s18.jpg
1 comments

How are the file sizes?
Exactly 18-30-50-85 kB if you use the -S syntax.
Whoops, I assumed that was an arbitrary "quailty" setting. Thanks