Original author(s) | Google Research |
---|---|
Initial release | March 15, 2017; 7 years ago (2017-03-15) |
Stable release | 1.0.1 / March 21, 2017; 7 years ago (2017-03-21) |
Repository | github |
Written in | C++ |
Standard(s) | JPEG |
License | Apache License 2.0 |
Guetzli is a freely licensed JPEG encoder that Jyrki Alakuijala, Robert Obryk, and Zoltán Szabadka have developed in Google's Zürich research branch. The encoder seeks to produce significantly smaller files than prior encoders at equivalent quality, albeit at very low speed. It is named after the Swiss German diminutive expression for biscuits, in line with the names of other compression technology from Google.
Operation
Guetzli optimizes the quantization step of encoding to achieve compression efficiency. It constructs custom quantization tables for each file, decides on color subsampling, and quantizes adjacent DCT coefficients to zero, balancing benefits in the run-length encoding of coefficients and preservation of perceived image fidelity. Zeroing the right coefficients is the most effective tool in Guetzli, which is used as a makeshift means of spatially adaptive quantization. Guetzli uses Butteraugli (another open-source Google project) to guide compression.
Guetzli is resource-intensive, requiring orders of magnitude more processing time and random-access memory than other JPEG encoders. Guetzli supports only the top of JPEG's quality range (quantizer settings 84–100) and supports only sequential (non-"progressive") encoding. Guetzli is more effective with bigger files. Google says it is a demonstration of the potential of psychovisual optimizations, intended to motivate further research into future JPEG encoders. Two tests found that Guetzli is very slow (about 4 magnitudes slower than normal JPEG encoder) and not necessarily better than mozjpeg.
Butteraugli
Butteraugli is a project that estimates the psychovisual similarity of two images. It assigns a differential mean opinion score (DMOS) value to the difference between an original image and a degraded version. It is significantly more complex than traditional metrics like PSNR and SSIM, but claimed to perform better with high-end quality, where degradations are not or barely noticeable. It models color perception and visual masking in the human visual system, taking into account that the eye is imaging different colors with different precision. It uses a heat map of changes. How the hundreds of parameters that model the properties of the human visual system were derived remains unexplained. An in-house performance evaluation with 614 ratings from 23 people on their own test set of 31 images yielded 75% of ratings favouring of JPEGs encoded for Butteraugli scores over libjpeg-turbo encodes, which usually score higher on SSIM and PSNR-HVS-M.
Translating to "butter eye", the Swiss-German name originally signifies a dimple on top of some sweet pastry that has been filled with butter and sugar before baking.
Availability
Guetzli is a command-line app. Written in C++, it is free and open-source under the terms of Apache License 2.0. Windows, macOS, and Linux versions of Guetzli are directly available from Google's repository on GitHub. The first public version was released on October 21, 2016, without any speed optimizations, and only announced on a specialist forum. Version 1.0 followed five months later on March 15, 2017, accompanied by an announcement to a broader public and two scientific papers.
In addition to official release channel, openSUSE and Debian distribute it via their official software repositories. (For Arch Linux, there are user repositories available.) The Homebrew repository distributes a macOS version. For the Windows platform, two open-source GUI front-ends are available.
Software developers that use Node.js can integrate Guetzli in their apps via a package available on the npm repository.
References
- ^ Anthony, Sebastian (2017-03-17). "Google reduces JPEG file size by 35%". Ars Technica. Retrieved 2017-12-02.
- ^ "Neues Google-Tool verkleinert JPEGs massiv und heisst Guetzli 😍". Watson (in German). 2017-03-17. Retrieved 2017-12-02.
- Crush (2015-09-22). "Brotli". Encode's Forum. Retrieved 2017-12-04.
- Hermann, Vincent (2017-03-17). "Guetzli, l'algorithme de Google pour réduire le poids des fichiers JPG de 35 %". nextinpact.com (in French). INpact Mediagroup. Retrieved 2017-12-04.
- ^ Hopkins, Max; Mitzenmacher, Michael; Wagner-Carena, Sebastian (2017-09-02). "Simulated Annealing for JPEG Quantization". arXiv:1709.00649 .
- Humpa, Michael. "Guetzli". CHIP Online. Retrieved 2017-12-02.
- ^ Jeremy Wagner (2017-03-29). "JPEG Compression with Guetzli". David Walsh Blog.
- ^ Osmani, Addy (2017). "Essential Image Optimization". images.guide. Retrieved 2017-12-03.
- Dave Kensell (2017-04-17). "Google Guetzli vs MozJPEG". pixelz.
- Colt McAnlis (2016-05-18), "Image compression for Android developers", Google I/O 2016, retrieved 2017-12-03
- Ciobanu, Doru (2017-03-18). "Guetzli – JPEG Encoder Promises a Faster Web, by Google". Designmodo. Retrieved 2017-12-03.
- ^ Alakuijala, Jyrki; Obryk, Robert; Szabadka, Zoltan; Wassenberg, Jan (2017). "Users prefer Guetzli JPEG over same-sized libjpeg". arXiv:1703.04416 .
- ^ "Guetzli - a new more psychovisual JPEG encoder". Encode's Forum. Retrieved 2017-12-04.
- @fg118942 (2017-01-16). "Guetzliはbutteraugliという新しい指標向けに調整されているので従来のSSIMなどの指標では低めの数値が出るようだ。pic.twitter.com/DAwp1xDS3B". twitter.com (in Japanese). Retrieved 2017-12-04.
{{cite web}}
: CS1 maint: numeric names: authors list (link) - Pippig, Susanna (2015-08-26). "Es wird wieder kardamomig – Finnische Pulla". Mehlstaub und Ofenduft (in German). Retrieved 2017-12-03.
- Guetzli at Open Hub
- ^ Furno, Nicolas (2017-03-17). "Google réduit la taille des JPEG avec Guetzli". MacGeneration. Retrieved 2017-12-02.
- Grüner, Sebastian (2017-03-17). "Guetzli: Neuer Jpeg-Encoder von Google". Linux-Magazin (in German). Retrieved 2017-12-04.
- "guetzli: Perceptual JPEG encoder". 12 December 2017 – via GitHub.
- Alakuijala, Jyrki; Obryk, Robert (March 16, 2017). "Announcing Guetzli: A New Open Source JPEG Encoder". Research Blog. Google Research Europe. Retrieved 2017-03-26.
- Alakuijala, Jyrki; Obryk, Robert; Stoliarchuk, Ostap; Szabadka, Zoltan; Vandevenne, Lode; Wassenberg, Jan (2017). "Guetzli: Perceptually Guided JPEG Encoder". arXiv:1703.04421 .
- "software.opensuse.org". software.opensuse.org.
- "Debian Package Tracker - guetzli". tracker.debian.org.
- "Debian Package Tracker - butteraugli". tracker.debian.org.
- "AUR (en) - guetzli-git". aur.archlinux.org.
- "AUR (en) - butteraugli-git". aur.archlinux.org.
- "Guetzli Converter GUI". homepage. Retrieved 2017-12-03.
- Kyladitis, Petros (2017-06-29). "Introducing Guietzli - The Guetzli graphical front-end - Petros Kyladitis". multipetros.gr. Retrieved 2017-12-02.
- "imagemin-guetzli". npm. 30 May 2020.
External links
- Guetzli on GitHub
- Butteraugli on GitHub
- guetzli-cuda-opencl on GitHub
Google free and open-source software | |||||||||
---|---|---|---|---|---|---|---|---|---|
Software |
| ||||||||
Related |