Optimize pdf files

This commit is contained in:
Fabien Freling 2019-11-01 16:30:52 +01:00
parent 3cef082a10
commit ccc3b51c83
4 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@ HTML_TEMPLATE = main.html
!png = |> convert %f %o |> %B.png
!compress_png = |> zopflipng %f %o |>
!compress_jpg = |> cjpeg -quality 80 -progressive -outfile %o %f |>
!compress_pdf = |> ps2pdf %f %o |>
JPG_OPT = -quality 80 -strip -interlace Plane
!blur_mini = |> convert %f -resize 400x400 -blur 0x8 $(JPG_OPT) %o |> blur_mini.jpg

View file

@ -1 +1 @@
:foreach *.pdf |> ps2pdf %f %o |> %g_opt.pdf
:foreach *.pdf |> !tup_preserve |>

Binary file not shown.

Binary file not shown.