The Technology section is published with the support of Favbet Tech
Google has introduced a new open source library Jpegli, which compresses images by 35 % more efficient while maintaining high quality.
Google researchers have been working for years to improve compression of data (Brotli), audio (Lyra V2), and images (WebP). Jpegli is their latest project aimed at improving the compression ratio of legacy JPEG files on systems where modern compression, such as WebP, may not be available or desirable.
As stated in the post on the official Google blog, among the advantages of Jpegli:
- Compatibility The encoder and decoder are fully API/ABI compatible with libjpeg-turbo and MozJPEG.
- High quality. When working with images, more accurate and “psycho-visual” efficient” calculations, resulting in clearer images.
- Speed. Although Jpegli has better image quality and compression efficiency, encoding speed is somewhere on par with libjpeg-turbo and MozJPEG. This allows web producers to easily integrate the new library into their workflows without sacrificing speed or memory consumption.
- Ability to encode an image at 10 or more bits per color component. Traditional libraries encode images using 8 bits per component, which leads to artifacts on smooth gradients.
- Compression efficiency. Jpegli compresses images more efficiently than traditional encoders, which saves resources.
How Jpegli works
Jpegli uses a number of new techniques to reduce noise and improve image quality. This is:
- adaptive quantization heuristics JPEG XL;
- improved quantization matrix selection;
- accurate calculation of intermediate results;
- possibility of using a more advanced color space.
Google conducted testing comparing the performance of Jpegli, libjpeg-turbo and MozJPEG at several bitrates. You can see what came out of this in the diagram below.
The Technology section is published with the support of Favbet Tech
Favbet Tech is IT a company with 100% Ukrainian DNA, which creates perfect services for iGaming and Betting using advanced technologies and provides access to them. Favbet Tech develops innovative software through a complex multi-component platform that can withstand enormous loads and create a unique experience for players. The IT company is part of the FAVBET group of companies.