encode png files in base64

This commit is contained in:
2024-09-22 14:42:44 +02:00
parent 31b725dfc6
commit 6a6b8f40e7
15 changed files with 8065 additions and 1 deletions

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
ENCODED_IMAGES := $(wildcard assets/*.png.64)
IMAGES := $(patsubst assets/%.png.64, images/%.png, $(ENCODED_IMAGES))
out: $(IMAGES)
images/:
mkdir $@
echo '*' > images/.gitignore
images/%.png: assets/%.png.64 | images/
base64 -d $< > $@