FloatImg/tools/essai.sh

36 lines
743 B
Bash
Executable File

#!/bin/bash
#
# essai des differents outils
#
# -----------------------------------------------------
TMPF="tmp.fimg"
# -----------------------------------------------------
function essai_rot90
{
echo "=== " $0 " ==="
./mkfimg -v -t hdeg $TMPF 800 600
./fimg2png -v $TMPF foo.png
./fimgfx -v rot90 $TMPF bar.fimg
}
# -----------------------------------------------------
function essai_drand48
{
./mkfimg -v -t drand48 $TMPF 800 600
./fimgstats -vv $TMPF
}
# -----------------------------------------------------
function essai_cmixa
{
./mkfimg -v -t tpat0 $TMPF 800 600
./fimgfx -v cmixa $TMPF bar.fimg
}
# -----------------------------------------------------
essai_cmixa
# -----------------------------------------------------