Top Banner
Introduce Guetzli
55

Introduce Guetzli

Mar 17, 2018

Download

Engineering

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • IntroduceGuetzli

  • Guetzli [gutsli]

    Google C++ JPEG 2016 10 22 2 0 1 7 3 Google Research Blog

    Apache Licnese 2.0

  • libjpeg

    20 ~ 30%

    libjpeg, ImageMagick JPEG .

  • JPEGand

    https://ko.wikipedia.org/wiki/WebP

    https://ko.wikipedia.org/wiki/JPEG

  • Original libjpeg Guetzli

    https://research.googleblog.com/2017/03/announcing-guetzli-new-open-source-jpeg.html

  • Original libjpeg Guetzli

    https://research.googleblog.com/2017/03/announcing-guetzli-new-open-source-jpeg.html

  • Lets TEST

  • $ brew install guetzli

    How to install on macOS

    $ guetzli [--quality Q] [--verbose] original.png output.jpg

    How to use

    $ guetzli --quality 84 --verbose original.jpeg guetzli.jpeg

    Quality is only allowed to be greater than 84

  • 2.2MB 952KB

    Original JPEGmini Guetzli

    706KB

    Q90

    56% 67%

    GuetzliQ95

    925KB57%

  • 2.2MB 952KB

    Original JPEGmini Guetzli

    706KB

    Q90

    56% 67%

    GuetzliQ95

    925KB57%

  • 2.2MB 952KB

    Original JPEGmini Guetzli

    706KB

    Q90

    56% 67%

    GuetzliQ95

    925KB57%

  • 2.9MB 1.2MB

    Original JPEGmini Guetzli

    897KB

    Q90

    58% 69%

    GuetzliQ95

    1.2MB58%

  • 2.9MB 1.2MB

    Original JPEGmini Guetzli

    897KB

    Q90

    58% 69%

    GuetzliQ95

    1.2MB58%

  • 2.9MB 1.2MB

    Original JPEGmini Guetzli

    897KB

    Q90

    58% 69%

    GuetzliQ95

    1.2MB58%

  • JPEGmini Guetzli Q95

  • But

  • https://davidwalsh.name/jpeg-compression-guetzli

  • https://davidwalsh.name/jpeg-compression-guetzli

  • Why is it so slow?

  • JPEG I SO ITU-T 1992 .

    Joint Photographic Experts Group

    https://en.wikipedia.org/wiki/JPEG

  • http://www.fileformat.info/mirror/egff/ch09_06.htm

    Multi-stage Compression Process

  • http://www.fileformat.info/mirror/egff/ch09_06.htm

    1.

    Multi-stage Compression Process

  • RED

    GREEN

    BLUE

    Y - Luminance

    Cb - Blueness

    Cr - Redness

  • http://www.fileformat.info/mirror/egff/ch09_06.htm

    2.

    Multi-stage Compression Process

  • Y Cb Cr

    4:4:4

    4:2:2

    4:1:1

  • Y Cb Cr

    Y

    Y

    Cb Cr

    Cb

    Cr

    4:4:4

    4:2:2

    4:1:1

  • http://www.fileformat.info/mirror/egff/ch09_06.htm

    3.

    Multi-stage Compression Process

  • http://www.fileformat.info/mirror/egff/ch09_06.htm

    4.

    Multi-stage Compression Process

  • http://www.fileformat.info/mirror/egff/ch09_06.htm

    5.

    Multi-stage Compression Process

  • https://www.youtube.com/watch?v=qys8R_3H-kc

  • Guetzli specifically targets the quantization stage in which the more visual quality loss is introduced,

    the smaller the resulting file.

  • Psychovisual modeling of JPEG's format

    https://github.com/google/butteraugli

  • Psychovisual modeling of JPEG's format

    https://github.com/google/butteraugli

  • Search Algorithms

    Psychovisual modeling of JPEG's format

    Guetzlis psychovisual model +(butteraugli)

    https://github.com/google/butteraugli

  • Search Algorithms

    Psychovisual modeling of JPEG's format

    Guetzlis psychovisual model +(butteraugli)

    https://github.com/google/butteraugli

    Very slow

  • Search Algorithms

    Psychovisual modeling of JPEG's format

    Guetzlis psychovisual model +(butteraugli)

    https://github.com/google/butteraugli

    Very slow

    But image can get high quality and smaller file sizes

  • We think this makes the slower compression a worthy tradeoff

  • Ideas

  • Background

  • Background

  • Background

  • Background

  • Background

  • Background

  • Background

  • Overwrite

  • ,

    Guetzli 1 300MB

  • http://qiita.com/yohhoy/items/406af27d4415c7bb6346

    http://co.bsnws.net/article/206

    http://japanese.engadget.com/2017/03/17/google-jpeg-guetzli-35/

    http://qiita.com/bezeklik/items/95449c9dd79c70bf8771

    ()

    https://ko.wikipedia.org/wiki/JPEG

    https://research.googleblog.com/2017/03/announcing-guetzli-new-open-source-jpeg.html

    https://en.wikipedia.org/wiki/JPEG

    http://www.fileformat.info/mirror/egff/ch09_06.htm

    https://medium.freecodecamp.com/how-jpg-works-a4dbd2316f35

  • .