fine tuning fimgfx with a script

This commit is contained in:
2019-11-29 19:55:52 +01:00
parent 9ae7e4d85f
commit 8a68cc24c6
4 changed files with 41 additions and 11 deletions

27
scripts/contrast-test.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
GRAB="quux.fimg"
COS01="cos01.fimg"
SQRT="sqrt.fimg"
POW2="pow2.fimg"
f2p ()
{
echo ========== $1
fimg2pnm -v $1 $(basename $1 .fimg).pnm
}
grabvidseq -v -n 777 -p 0.07 -o $GRAB
f2p $GRAB
fimgfx -v pow2 $GRAB $POW2
f2p $POW2
fimgfx -v sqrt $GRAB $SQRT
f2p $SQRT
fimgfx -v cos01 $GRAB $COS01
f2p $COS01
convert -delay 10 *.pnm foo.gif