Image Process is a plugin for Pelican, a static site generator written in Python.
Image Process let you automate the processing of images based on their class attribute. Use this plugin to minimize the overall page weight and to save you a trip to Gimp or Photoshop each time you include an image in your post.
Image Process is used by this blog’s theme to resize the source images so they are the correct size for thumbnails on the main index page and the larger size they are displayed at on top of the articles.
Version 1.2.0 of the plugin has been released and posted PyPI.
The biggest change this version brings is support for Pelican version 4. Thanks to Nick Perkins for reporting the issue, and to Therry van Neerven for providing a Pull Request I could crib a solution from.
I’ve also made some improvements in the test suite. It still fails on Windows due to issues with filepath separators, but most tests now pass on Travis. The remaining failing test appears to be due to some changes in exactly how Pillow (the image processing library used here) transforms the images.
To upgrade simply use
pip install minchin.pelican.plugins.image_process --upgrade