make tall images a little bigger

This commit is contained in:
Rhiannon Morris 2020-07-19 00:11:42 +02:00
parent 6eabbccae7
commit b855fbc9ad
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,8 @@ INFONAME = info.yaml
# SMALL = thumbnails, MED = single pages (link to full size)
SMALL := 200
MED := 1000
MEDW := 1000
MEDH := 1200
MAKEPAGES = $(TMPDIR)/make-pages

View file

@ -105,7 +105,7 @@ makeRules prefix filters build data_ tmp = [b|@0
$@buildPrefix/%_med.png: $@data_/%.png
echo "[resize] "$$@
mkdir -p $$(dir $$@)
convert -resize '$$(MED)x$$(MED)>' "$$<" "$$@"
convert -resize '$$(MEDW)x$$(MEDH)>' "$$<" "$$@"
|]
where
buildPrefix = build </> prefix