thumbor-plugins-pngcrush

Thumbor optimizer to run pngcrush


Keywords
thumbor, optimizers, pngcrush
License
MIT
Install
pip install thumbor-plugins-pngcrush==0.1.4

Documentation

thumbor-plugins

Github Actions - tests

This monorepo contains multiple plugins that should be used on Thumbor to add new capabilities, like GifV or Mozjpeg compression.

Each of the optimizers is released and can be installed separately.

📜 List of thumbor-plugins

You can find the plugins in: https://pypi.org/search/?q=%22thumbor-plugins%22&o=-created

⚙️ Installation

pip install thumbor-plugins-mozjpeg
pip install thumbor-plugins-gifv

🎯 Usage

After installing the packages, just add the plugins you need to the OPTIMIZERS list on your thumbor.conf

OPTIMIZERS = [
    'thumbor_plugins.optimizers.mozjpeg',
    'thumbor_plugins.optimizers.gifv',
]

Each optimizer contains parameters that can be used to configure how it runs.

👍 Contribute

thumbor-plugins is an open-source project with many contributors. Join them contributing code.

🚨 Breaking change

This repository used to be released under a single package in previous versions, thumbor-plugins.

We broke down into multiple packages to make it easier for developers to contribute, test, and use different versions.

For example, the mozjpeg optimizer is released on the package thumbor-plugins-mozjpeg, and the Gifv one on the package thumbor-plugins-gifv.

Third Party

Integration tests uses a bug.png picture by Marcelo Jorge Vieira licensed under CC-BY-4.0.