PGijsbers / pgijsbers.github.io

My webpage
https://pgijsbers.github.io/
Other
0 stars 1 forks source link

Add an image processing pipeline #15

Open PGijsbers opened 1 year ago

PGijsbers commented 1 year ago

The current repository is quite cluttered with many versions of the same images. There is no need to keep all these different versions around if we have a pipeline that:

  1. Resizes the original to the desired resolutions.
  2. Converts the resulting images into the (compressed) formats we need (now: avif and jpg)

For local development you would run the pipeline once too and ensure the files are in the .gitignore. It is an open question of how to determine the level of compression that satisfies a trade-off between visual quality and file size in an automated fashion.