update fx demo script

This commit is contained in:
tTh 2024-03-27 07:27:52 +01:00
parent 681899b06d
commit 65c0212108
3 changed files with 34 additions and 5 deletions

7
scripts/.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
*.fits
*.tiff
*.tif
*.png

View File

@ -14,11 +14,6 @@ INTERPOLATOR="$HOME/Devel/FloatImg/Fonderie/interpolator"
FONDERIE="$HOME/Devel/FloatImg/Fonderie/fonderie" FONDERIE="$HOME/Devel/FloatImg/Fonderie/fonderie"
SINGLEPASS="$HOME/Devel/FloatImg/Fonderie/singlepass" SINGLEPASS="$HOME/Devel/FloatImg/Fonderie/singlepass"
NBPASS=2400
DELAY_GRAB=1
IDXLINKFARM=0
# #
# working directories # working directories
# #

27
scripts/demo-fimgfx.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
source="00000.fimg"
tmpimg="/dev/shm/demofx.fimg"
effects=$(fimgfx -l)
for fx in $effects
do
echo "============= " $fx
dst="${fx}.png"
echo " " ${source} ${dst}
fimgfx -v ${fx} ${source} ${tmpimg}
convert $tmpimg \
-fill black -stroke white \
-strokewidth 1 \
-pointsize 34 \
-font "Noto-Sans-Bold" \
-gravity South-East \
-annotate +32+10 "${fx}" \
${dst}
done