summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-27 11:22:11 +0100
committerVolpeon <git@volpeon.ink>2021-12-27 11:22:11 +0100
commit38ebd77c5c9045735e9fdc64c360358582999633 (patch)
treea484902e57b74df7b935f20ca74915bd2bd42e1b /Makefile
parentAdd thumbnail compression (diff)
downloadvolpeon.ink-38ebd77c5c9045735e9fdc64c360358582999633.tar.gz
volpeon.ink-38ebd77c5c9045735e9fdc64c360358582999633.tar.bz2
volpeon.ink-38ebd77c5c9045735e9fdc64c360358582999633.zip
Larger thumbnails
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bec4677..96a8306 100644
--- a/Makefile
+++ b/Makefile
@@ -115,12 +115,12 @@ out/%.xml: content/%.md .cache/meta/%.json $(FEED_TEMPLATES_SRC) metadata/*.yaml
115out/%/thumbnail.png: content/%/thumbnail.png | out 115out/%/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
120out/%/thumbnail.jpg: content/%/thumbnail.jpg | out 120out/%/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
125out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out 125out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out
126 $(info [FONT] $< -> $@) 126 $(info [FONT] $< -> $@)