You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried this plugin and it works properly. It's a nice add-on to the Pelican workflow. However, while testing for performance and optimisation, I have found that the resulting thumbnails are not fully optimised.
I know there are not a lot of Python options with regards to image processing, and I like the fact that this plugin does not require any weird dependency, but maybe there is something that could be done with PIL itself, like using the qualityand optimize parameters, and/or making progressive JPGs (e.g.: https://stackoverflow.com/questions/6788398/how-to-save-progressive-jpeg-using-python-pil-1-1-7).
The text was updated successfully, but these errors were encountered:
In this page, there is a more complete example, that accounts for the cases when after optimisation the resulting file is not smaller that the original, non optimised one:
I have tried this plugin and it works properly. It's a nice add-on to the Pelican workflow. However, while testing for performance and optimisation, I have found that the resulting thumbnails are not fully optimised.
I know there are not a lot of Python options with regards to image processing, and I like the fact that this plugin does not require any weird dependency, but maybe there is something that could be done with PIL itself, like using the
quality
andoptimize
parameters, and/or making progressive JPGs (e.g.: https://stackoverflow.com/questions/6788398/how-to-save-progressive-jpeg-using-python-pil-1-1-7).The text was updated successfully, but these errors were encountered: