site/scripts/bakeimgs
2026-02-03 22:20:16 +10:00

12 lines
352 B
Bash
Executable file

#!/usr/bin/env bash
# TODO: write this as a Makefile maybe?
# ===== Configuration ===== #
IMGS_DIR="imgs"
BAKE_DIR="www/baked"
# ========================= #
mkdir -p "$BAKE_DIR"
magick -background '#000000' -size 100x100 "$IMGS_DIR/mirror-icon.svg" "$BAKE_DIR/mirror-icon.png"
magick "$IMGS_DIR/c00L_y2k_g1rL.png" -resize 50% "$BAKE_DIR/avatar.png"