2020-03-26 09:12:25 +01:00
|
|
|
#!/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
|
|
|
|
}
|
|
|
|
# -----------------------------------------------------
|
2020-06-11 15:56:32 +02:00
|
|
|
function essai_drand48
|
|
|
|
{
|
|
|
|
./mkfimg -v -t drand48 $TMPF 800 600
|
|
|
|
./fimgstats -vv $TMPF
|
|
|
|
}
|
|
|
|
# -----------------------------------------------------
|
2020-03-26 09:12:25 +01:00
|
|
|
|
2020-06-11 15:56:32 +02:00
|
|
|
essai_drand48
|
2020-03-26 09:12:25 +01:00
|
|
|
|
|
|
|
# -----------------------------------------------------
|