2023-01-03 11:22:40 +11:00
|
|
|
#!/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
|
|
|
|
|
2023-05-07 19:35:48 +11:00
|
|
|
mogrify \
|
|
|
|
-gravity South-East \
|
2024-02-10 19:12:10 +11:00
|
|
|
-font Courier-Bold \
|
2023-05-07 19:35:48 +11:00
|
|
|
-pointsize 12 \
|
2024-02-10 19:12:10 +11:00
|
|
|
-fill Black \
|
|
|
|
-annotate +10+4 "Konrad+tTh 2024" \
|
2023-01-03 11:22:40 +11:00
|
|
|
$img
|
|
|
|
echo "tagging " $img
|
|
|
|
|
|
|
|
done
|