Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Python bindings for Google's Guetzli, a JPEG encoder that optimises JPEG compression
|Github| |Discord| |PYPI Version| |Build Status| |License|
PyGuetzli is a Python binding for Google’s
Guetzli <https://github.com/google/guetzli>
__ library.
Description of Guetzli from official’s repo:
Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality. Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg. Guetzli generates only sequential (nonprogressive) JPEGs due to faster decompression speeds they offer.
Installation <https://wanadev.github.io/pyguetzli/install.html>
_Guetzli Python Module <https://wanadev.github.io/pyguetzli/guetzli.html>
_Using with PIL / Pillow images <https://wanadev.github.io/pyguetzli/pil_image.html>
_Contributing / Reporting a bug <https://wanadev.github.io/pyguetzli/contributing.html>
_More topics at https://wanadev.github.io/pyguetzli/
.. code-block:: python
import pyguetzli
input_jpeg = open("./test/image.jpg", "rb").read() optimized_jpeg = pyguetzli.process_jpeg_bytes(input_jpeg)
output = open("./optimized.jpg", "wb") output.write(optimized_jpeg)
[NEXT] (changes on master
but not released yet):
v1.0.15:
v1.0.14:
v1.0.13:
v1.0.12:
v1.0.11:
arm64
and universal2
wheels for macOSx86
and x68_64
wheels for musl-based Linux distro (Alpine,...)win32
wheels for Windows (x86_64
were already available)v1.0.10: Python 3.10 support and wheels
v1.0.9: Provides prebuilt wheel packages
v1.0.8: Updates Guetzli and python dependencies
v1.0.7: Fixes unicode issue when installing pyguetzli (#4)
v1.0.6: Fixes a typo in compilator options on unix
v1.0.5: Adds optimization flags when compiling Guetzli
v1.0.4: MS Windows support
v1.0.3: Updates Guetzli library
v1.0.2: PIL Images: fixes crash with non RGB/RGBA images (grayscale, indexed,…)
v1.0.1: Adds --std=c++11
flag when building Guetzli
v1.0.0:
v0.9.0: Initial release
.. |Github| image:: https://img.shields.io/github/stars/wanadev/pyguetzli?label=Github&logo=github :target: https://github.com/wanadev/pyguetzli .. |Discord| image:: https://img.shields.io/badge/chat-Discord-8c9eff?logo=discord&logoColor=ffffff :target: https://discord.gg/BmUkEdMuFp .. |PYPI Version| image:: https://img.shields.io/pypi/v/pyguetzli.svg :target: https://pypi.python.org/pypi/pyguetzli .. |Build Status| image:: https://github.com/wanadev/pyguetzli/actions/workflows/python-ci.yml/badge.svg :target: https://github.com/wanadev/pyguetzli/actions .. |License| image:: https://img.shields.io/pypi/l/pyguetzli.svg :target: https://github.com/wanadev/pyguetzli/blob/master/LICENSE
FAQs
Python bindings for Google's Guetzli, a JPEG encoder that optimises JPEG compression
We found that pyguetzli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.