Chain image optimizations

This commit is contained in:
Fabien Freling 2019-10-29 13:32:03 +01:00
parent f1d5637473
commit f53cb6ef34
5 changed files with 9 additions and 2 deletions

View file

@ -12,3 +12,7 @@ HTML_TEMPLATE = main.html
--include-after-body=&(root)/templates/footer.html \
%f | sed 's|%%webRoot%%|&(root)|g' > %o \
|> %B.html
!compress_png = |> zopflipng %f %o |>
!compress_jpg = |> cjpeg -quality 80 -progressive -outfile %o %f |>
!thumbnail = |> convert %f -resize 400x400 -blur 0x8 %o |>