add script to bake svg paths using imagemagick
This commit is contained in:
parent
cafda39a82
commit
5c8a530cbd
1 changed files with 11 additions and 0 deletions
11
bakeimgs
Executable file
11
bakeimgs
Executable 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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue