Le mercredi 12 janvier 2011 à 11:48 +0100, Mathieu Alorent a écrit :
> But how can I generate an animated gif with 'z' defining a single
> frame ?
>
> I was expecting something like that will work :
>
> $pdl = sequence 3,3,5;
> $pdl->wpic('/tmp/test.gif', { LUT => $lut });
> Is this possible ? How ?
I've found this in the ppmtogif man page :
"This program creates only individual GIF images. To combine multiple
GIF images into an animated GIF, use gifsicle (not part of the Netpbm
package)."
After installing gifsicle package, I've tried to use it like this (with
no success):
test 1)
perldl> $a->wpic('/tmp/test.gif',{CONVERTER => 'gifsicle'})
PDL: wpnm: unknown format ''
Caught at file (eval 60), line 4, pkg main
test 2)
perldl> $a->wpic('/tmp/test.gif',{CONVERTER => 'gifsicle', FORMAT => 'GIF'})
PDL: wpnm: unknown format ''
Caught at file (eval 74), line 4, pkg main
Any idea ???
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl