From 65c0212108f4a2ba3284052d96c55155f38828f1 Mon Sep 17 00:00:00 2001 From: tTh Date: Wed, 27 Mar 2024 07:27:52 +0100 Subject: [PATCH] update fx demo script --- scripts/.gitignore | 7 +++++++ scripts/conf.sh | 5 ----- scripts/demo-fimgfx.sh | 27 +++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 scripts/.gitignore create mode 100755 scripts/demo-fimgfx.sh diff --git a/scripts/.gitignore b/scripts/.gitignore new file mode 100644 index 00000000..9e341855 --- /dev/null +++ b/scripts/.gitignore @@ -0,0 +1,7 @@ + + +*.fits +*.tiff +*.tif +*.png + diff --git a/scripts/conf.sh b/scripts/conf.sh index f67639db..483f78fd 100644 --- a/scripts/conf.sh +++ b/scripts/conf.sh @@ -14,11 +14,6 @@ INTERPOLATOR="$HOME/Devel/FloatImg/Fonderie/interpolator" FONDERIE="$HOME/Devel/FloatImg/Fonderie/fonderie" SINGLEPASS="$HOME/Devel/FloatImg/Fonderie/singlepass" - -NBPASS=2400 -DELAY_GRAB=1 -IDXLINKFARM=0 - # # working directories # diff --git a/scripts/demo-fimgfx.sh b/scripts/demo-fimgfx.sh new file mode 100755 index 00000000..2cd1a599 --- /dev/null +++ b/scripts/demo-fimgfx.sh @@ -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 +