thunderbird-website icon indicating copy to clipboard operation
thunderbird-website copied to clipboard

Add an image optimizer to the build pipeline

Open MelissaAutumn opened this issue 1 year ago • 1 comments

We should add an extra step to the build pipeline to auto optimize jpgs, webp, and avif files as well as insert them via a jinja macro.

Shouldn't be too hard to implement with Pillow but there's bound to be something already built for this.

MelissaAutumn avatar Nov 16 '23 19:11 MelissaAutumn

I've added a script to do this, we should look into adding it into the pipline. https://github.com/thunderbird/thunderbird-website/blob/master/tools/compress_assets.py

MelissaAutumn avatar May 13 '24 17:05 MelissaAutumn