Compare commits
3 Commits
4f41ae399b
...
e3347cb775
Author | SHA1 | Date | |
---|---|---|---|
|
e3347cb775 | ||
|
ee6a416f9e | ||
|
43368bf900 |
@ -15,6 +15,8 @@
|
|||||||
* fait le meme genre de truc, mais en bien mieux...
|
* fait le meme genre de truc, mais en bien mieux...
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Private variables */
|
||||||
static Image_Desc *S, *D;
|
static Image_Desc *S, *D;
|
||||||
static int seuil;
|
static int seuil;
|
||||||
static int level, maxlevel;
|
static int level, maxlevel;
|
||||||
@ -138,14 +140,4 @@ dest->modified = 1;
|
|||||||
return FUNC_IS_ALPHA;
|
return FUNC_IS_ALPHA;
|
||||||
}
|
}
|
||||||
/*::------------------------------------------------------------------::*/
|
/*::------------------------------------------------------------------::*/
|
||||||
int
|
|
||||||
Image_call_recursion(Image_Desc *image, Image_Desc *dest, int param)
|
|
||||||
{
|
|
||||||
int foo;
|
|
||||||
|
|
||||||
fprintf(stderr, "XXX %s is obsolete XXX\n", __func__);
|
|
||||||
foo = Image_call_recursion_0(image, dest, param);
|
|
||||||
|
|
||||||
return foo;
|
|
||||||
}
|
|
||||||
/*::------------------------------------------------------------------::*/
|
/*::------------------------------------------------------------------::*/
|
||||||
|
2
Tests/frames/keep_this_dir_please.txt
Normal file
2
Tests/frames/keep_this_dir_please.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
this directory is for temporary files made from tests.
|
28
Tests/t_recurse.sh
Executable file
28
Tests/t_recurse.sh
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source="dauphine2.tga"
|
||||||
|
if [ $# -eq 2 ] ; then
|
||||||
|
source="$1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
identify $source ; echo
|
||||||
|
|
||||||
|
rm -f frames/R*.tga
|
||||||
|
|
||||||
|
maxidx=250
|
||||||
|
|
||||||
|
for idx in $(seq 0 4 $maxidx)
|
||||||
|
do
|
||||||
|
|
||||||
|
dst=$(printf "frames/R%03d.tga" $idx)
|
||||||
|
coef=$(( $maxidx - $idx ))
|
||||||
|
echo "======> "$dst " coef " $coef
|
||||||
|
|
||||||
|
../Tools/tga_effects $source recurse $dst $coef
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
convert -delay 10 frames/R*.tga recurse.gif
|
||||||
|
wc -c recurse.gif
|
Loading…
Reference in New Issue
Block a user