diff options
| author | Volpeon <git@volpeon.ink> | 2021-12-27 11:22:11 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-12-27 11:22:11 +0100 |
| commit | 38ebd77c5c9045735e9fdc64c360358582999633 (patch) | |
| tree | a484902e57b74df7b935f20ca74915bd2bd42e1b /Makefile | |
| parent | Add thumbnail compression (diff) | |
| download | volpeon.ink-38ebd77c5c9045735e9fdc64c360358582999633.tar.gz volpeon.ink-38ebd77c5c9045735e9fdc64c360358582999633.tar.bz2 volpeon.ink-38ebd77c5c9045735e9fdc64c360358582999633.zip | |
Larger thumbnails
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -115,12 +115,12 @@ out/%.xml: content/%.md .cache/meta/%.json $(FEED_TEMPLATES_SRC) metadata/*.yaml | |||
| 115 | out/%/thumbnail.png: content/%/thumbnail.png | out | 115 | out/%/thumbnail.png: content/%/thumbnail.png | out |
| 116 | $(info [THMB] $< -> $@) | 116 | $(info [THMB] $< -> $@) |
| 117 | 117 | ||
| 118 | convert -thumbnail 360x200^ -gravity center -extent 360x200 "$<" png:- | pngquant -o "$@" - | 118 | convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" png:- | pngquant -o "$@" - |
| 119 | 119 | ||
| 120 | out/%/thumbnail.jpg: content/%/thumbnail.jpg | out | 120 | out/%/thumbnail.jpg: content/%/thumbnail.jpg | out |
| 121 | $(info [THMB] $< -> $@) | 121 | $(info [THMB] $< -> $@) |
| 122 | 122 | ||
| 123 | convert -thumbnail 360x200^ -gravity center -extent 360x200 "$<" ppm:- | cjpeg -quality 80 > "$@" | 123 | convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" ppm:- | cjpeg -quality 80 > "$@" |
| 124 | 124 | ||
| 125 | out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out | 125 | out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out |
| 126 | $(info [FONT] $< -> $@) | 126 | $(info [FONT] $< -> $@) |
