All Projects → wanadev → pyguetzli

wanadev / pyguetzli

Licence: Apache-2.0 license
Python bindings for Google's Guetzli, a JPEG encoder that optimises JPEG compression

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects
python
139335 projects - #7 most used programming language
shell
77523 projects
POV-Ray SDL
72 projects
lua
6591 projects

Projects that are alternatives of or similar to pyguetzli

Guetzling
Guetzling is a simple script for macOS and Linux written in Bash, to automate (recursively finding files) the compression of jpegs using the Guetzli algorithm.
Stars: ✭ 20 (-28.57%)
Mutual labels:  jpeg, jpeg-encoder, guetzli
simple-guetzli
Batch Guetzli compressions in a manageable fashion
Stars: ✭ 14 (-50%)
Mutual labels:  jpeg-encoder, guetzli
yoga-image-optimizer
A graphical tool to convert and optimize JPEG, PNG and WebP images (based on YOGA)
Stars: ✭ 85 (+203.57%)
Mutual labels:  jpeg, guetzli
wasm-jpeg-ijg
Demo from Chrome Dev Summit of using Web Assembly to optimize images in a browser
Stars: ✭ 54 (+92.86%)
Mutual labels:  jpeg, jpeg-encoder
MozJpeg-wrapper
mozjpeg wrapper for .NET coded in c#
Stars: ✭ 14 (-50%)
Mutual labels:  jpeg
jpgtxt
Generating jpg files that can be viewed both in image viewer and text editor (as ASCII art)
Stars: ✭ 24 (-14.29%)
Mutual labels:  jpeg
hexen-dll-injector
HEX-EN DLL Injector
Stars: ✭ 20 (-28.57%)
Mutual labels:  binding
WpfExtensions
Some syntactic sugar for Wpf development.
Stars: ✭ 128 (+357.14%)
Mutual labels:  binding
toojpeg
A JPEG encoder in a single C++ file
Stars: ✭ 90 (+221.43%)
Mutual labels:  jpeg-encoder
imgui-java
JNI based binding for Dear ImGui
Stars: ✭ 270 (+864.29%)
Mutual labels:  binding
exif-rs
Exif parsing library written in pure Rust
Stars: ✭ 91 (+225%)
Mutual labels:  jpeg
whatsapp-jpeg-repair
A handy tool to fix jpeg files downloaded from WhatsApp and prevent errors upon opening these files in Adobe Photoshop.
Stars: ✭ 30 (+7.14%)
Mutual labels:  jpeg
zImageOptimizer
Simple image optimizer for JPEG, PNG and GIF images on Linux, MacOS and FreeBSD.
Stars: ✭ 108 (+285.71%)
Mutual labels:  jpeg
go-jpeg-image-structure
Parse JPEG data into segments via code or CLI from pure Go. Read/export/write EXIF data. Read XMP and IPTC metadata.
Stars: ✭ 47 (+67.86%)
Mutual labels:  jpeg
uvc-streamer
MJPEG webcam network streamer for linux
Stars: ✭ 25 (-10.71%)
Mutual labels:  jpeg
integral
Library for binding C++ code with Lua
Stars: ✭ 34 (+21.43%)
Mutual labels:  binding
codegen
Generator for dart_native bindings. Codegen can transform native SDK to Flutter plugin.
Stars: ✭ 75 (+167.86%)
Mutual labels:  binding
raylib-zig
Manually tweaked, auto generated raylib bindings for zig. https://github.com/raysan5/raylib
Stars: ✭ 122 (+335.71%)
Mutual labels:  binding
jpegio
A python package for accessing the internal variables of JPEG file format such as DCT coefficients and quantization tables
Stars: ✭ 51 (+82.14%)
Mutual labels:  jpeg
skinner
Skin export / import tools for Autodesk Maya
Stars: ✭ 68 (+142.86%)
Mutual labels:  binding

PyGuetzli

Github Discord PYPI Version Build Status License

PyGuetzli is a Python binding for Google’s 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.

Documentation

More topics at https://wanadev.github.io/pyguetzli/

Usage Example

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)

Changelog

  • 1.0.11:
    • arm64 and universal2 wheels for macOS
    • x86 and x68_64 wheels for musl-based Linux distro (Alpine,...)
    • win32 wheels for Windows (x86_64 were already available)
  • 1.0.10: Python 3.10 support and wheels
  • 1.0.9: Provides prebuilt wheel packages
  • 1.0.8: Updates Guetzli and python dependencies
  • 1.0.7: Fixes unicode issue when installing pyguetzli (#4)
  • 1.0.6: Fixes a typo in compilator options on unix
  • 1.0.5: Adds optimization flags when compiling Guetzli
  • 1.0.4: MS Windows support
  • 1.0.3: Updates Guetzli library
  • 1.0.2: PIL Images: fixes crash with non RGB/RGBA images (grayscale, indexed,…)
  • 1.0.1: Adds --std=c++11 flag when building Guetzli
  • 1.0.0:
    • New and simpler API
    • Built-in function to deal with PIL / Pillow Images
    • Documentation (Sphinx)
    • Guetzli update
  • 0.9.0: Initial release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].