add script to bake svg paths using imagemagick

This commit is contained in:
Emile Clark-Boman 2025-07-28 23:22:03 +10:00
parent cafda39a82
commit 5c8a530cbd

11
bakeimgs Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
# TODO: write this as a Makefile maybe?
# ===== Configuration ===== #
IMGS_DIR="imgs"
BAKE_DIR="bake"
# ========================= #
mkdir -p "$BAKE_DIR"
magick -background '#000000' -size 100x100 "$IMGS_DIR/mirror-icon.svg" "$BAKE_DIR/mirror-icon.png"