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.
You can find the plugins in: https://pypi.org/search/?q=%22thumbor-plugins%22&o=-created
pip install thumbor-plugins-mozjpeg
pip install thumbor-plugins-gifv
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.
thumbor-plugins is an open-source project with many contributors. Join them contributing code.
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
.
Integration tests uses a bug.png picture by Marcelo Jorge Vieira licensed under CC-BY-4.0.