Fortraneries/Fraktalism/tagpicz.sh
2023-05-07 10:35:48 +02:00

28 lines
369 B
Bash
Executable File

#!/bin/bash
#
# THIS IS JUST A QUICK'N'DIRTY HACK !
# DO NOT USE IT IN REAL LIFE !
#
set -e
SDIR="frames/spool/"
if [ $# -eq 1 ] ; then
SDIR="$1"
fi
for img in $SDIR/*.pnm
do
mogrify \
-gravity South-East \
-font Courier \
-pointsize 12 \
-fill firebrick \
-annotate +10+10 "Konrad+tTh 2023" \
$img
echo "tagging " $img
done