This commit is contained in:
Robin Appelman 2023-11-24 18:26:24 +01:00
commit 7afbfefaf6
55 changed files with 646 additions and 0 deletions

17
images/Makefile Normal file
View file

@ -0,0 +1,17 @@
SOURCES := $(wildcard src/*.xcf)
FILES :=$(subst src/, dist/, $(SOURCES))
PNGS := $(FILES:.xcf=.png)
JPGS := $(FILES:.xcf=.jpg)
WEBPS := $(FILES:.xcf=.webp)
%.jpg: %.png
convert $< $@
%.webp: %.png
convert $< -quality 80 -define webp:image-hint=photo -define webp:auto-filter=true $@
dist/%.png: src/%.xcf
xcf2png $< -o $@
convert $@ -trim +repage $@
all: $(PNGS) $(JPGS) $(WEBPS)