forked from tTh/FloatImg
update fx demo script
This commit is contained in:
parent
681899b06d
commit
65c0212108
7
scripts/.gitignore
vendored
Normal file
7
scripts/.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
*.fits
|
||||||
|
*.tiff
|
||||||
|
*.tif
|
||||||
|
*.png
|
||||||
|
|
@ -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
27
scripts/demo-fimgfx.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user