Guetzli
   HOME

TheInfoList



OR:

Guetzli is a freely licensed
JPEG JPEG ( , short for Joint Photographic Experts Group and sometimes retroactively referred to as JPEG 1) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degr ...
encoder that Jyrki Alakuijala, Robert Obryk, and Zoltán Szabadka have developed in
Google Google LLC (, ) is an American multinational corporation and technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, consumer electronics, and artificial ...
's
Zürich Zurich (; ) is the list of cities in Switzerland, largest city in Switzerland and the capital of the canton of Zurich. It is in north-central Switzerland, at the northwestern tip of Lake Zurich. , the municipality had 448,664 inhabitants. The ...
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 Swiss German (Standard German: , ,Because of the many different dialects, and because there is no #Conventions, defined orthography for any of them, many different spellings can be found. and others; ) is any of the Alemannic German, Alemannic ...
diminutive A diminutive is a word obtained by modifying a root word to convey a slighter degree of its root meaning, either to convey the smallness of the object or quality named, or to convey a sense of intimacy or endearment, and sometimes to belittle s ...
expression for
biscuit A biscuit is a flour-based baked food item. Biscuits are typically hard, flat, and unleavened. They are usually sweet and may be made with sugar, chocolate, icing, jam, ginger, or cinnamon. They can also be savoury, similar to crackers. ...
s, 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 Run-length encoding (RLE) is a form of lossless data compression in which ''runs'' of data (consecutive occurrences of the same data value) are stored as a single occurrence of that data value and a count of its consecutive occurrences, rather th ...
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 Random-access memory (RAM; ) is a form of Computer memory, electronic computer memory that can be read and changed in any order, typically used to store working Data (computing), data and machine code. A random-access memory device allows ...
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 Mean opinion score (MOS) is a measure used in the domain of Quality of Experience and telecommunications engineering, representing overall quality of a stimulus or system. It is the arithmetic mean over all individual "values on a predefined scale ...
(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 A heat map (or heatmap) is a 2-dimensional data visualization technique that represents the magnitude of individual values within a dataset as a color. The variation in color may be by hue or intensity. In some applications such as crime analy ...
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 A command-line interface (CLI) is a means of interacting with software via commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user-friendly alternativ ...
app. Written in C++, it is
free and open-source Free and open-source software (FOSS) is software available under a Software license, license that grants users the right to use, modify, and distribute the software modified or not to everyone free of charge. FOSS is an inclusive umbrella term ...
under the terms of Apache License 2.0.
Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
macOS macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
, and
Linux Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
versions of Guetzli are directly available from Google's repository on
GitHub GitHub () is a Proprietary software, proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug trackin ...
. 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 openSUSE () is a free and open-source software, free and open-source Linux distribution developed by the openSUSE project. It is offered in two main variations: ''Tumbleweed'', an upstream rolling release distribution, and ''Leap'', a stable r ...
and
Debian Debian () is a free and open-source software, free and open source Linux distribution, developed by the Debian Project, which was established by Ian Murdock in August 1993. Debian is one of the oldest operating systems based on the Linux kerne ...
distribute it via their official
software repositories A software repository, or repo for short, is a storage location for software packages. Often a table of contents is also stored, along with metadata. A software repository is typically managed by source or version control, or repository manager ...
. (For
Arch Linux Arch Linux () is an Open-source software, open source, rolling release Linux distribution. Arch Linux is kept up-to-date by regularly updating the individual pieces of software that it comprises. Arch Linux is intentionally minimal, and is meant ...
, 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


External links

* * * {{Google FOSS Image compression Google software Free software programmed in C++