LoginSignup
3
4

More than 5 years have passed since last update.

次世代jpegエンコーダのGoogle製「guetzli」とMozilla製「mozjpeg」を比較してみる

Posted at

googleがguetzliをOSS化したので、以下の次世代Jpegエンコーダーを比べてみる
Google/guetzli v0.1
mozilla/mozjpeg v3.1

各コマンドはこんな感じ

guetzli

./guetzli --quality 90 bees.png bees_gue90.jpg

mozjpeg

convert bees.png pnm:- | mozcjpeg -quality 90 > bees_moz90.jpg

エンコード

試した画像はguetzliにサンプルとしてリンクされているこちらの蜂の画像
https://github.com/google/guetzli/releases/download/v0.1/bees.png

オリジナルサイズ: 177KB

quality guetzli mozjpeg
指定なし 38KB 16KB
100 148KB 75KB
95 38KB 35KB
90 26KB 25KB
85 20KB 20KB
80 error 17KB

※guetzliはdefault qualityが95, mozcjpegは75

./guetzli --quality 80 bees.png bees_gue80.jpg だと以下のようなエラーになる。

Guetzli should be called with quality >= 84, otherwise the
output will have noticeable artifacts. If you want to
proceed anyway, please edit the source code.
Guetzli processing failed

結果

いまのところ、mozcjpegが優秀

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4