"png2swf" output may become garbled:
> [EMAIL PROTECTED]:/swftools-2008-01-13-1038/src$ PATH=. png2swf
> Usage: [...]
> -s , --scale <percent> Scale image to <percent>png2swfize.
To fix this, the literal "%" character should be quoted (as in "%%").
A quick grep found "png2swf.c" and "swfcombine.c" to be affeced.
See attached diff for fixes.
Yours,
MFG.
diff -U 1 png2swf.c png2swf.c
--- png2swf.c 2008-01-24 18:05:09.107279665 +0100
+++ png2swf.c 2008-01-24 18:05:07.107357482 +0100
@@ -1066,3 +1066,3 @@
printf("-V , --version Print version information and
exit\n");
- printf("-s , --scale <percent> Scale image to <percent>% size.\n");
+ printf("-s , --scale <percent> Scale image to <percent>%%
size.\n");
printf("\n");
diff -U 1 swfcombine.c swfcombine.c
--- swfcombine.c 2008-01-24 18:05:02.107552020 +0100
+++ swfcombine.c 2008-01-24 18:04:58.107707648 +0100
@@ -287,3 +287,3 @@
printf("-y , --movey <ypos> y Adjust position of slave by
<ypos> pixels\n");
- printf("-s , --scale <scale> Adjust size of slave by <scale>
percent (e.g. 100% = original size)\n");
+ printf("-s , --scale <scale> Adjust size of slave by <scale>
percent (e.g. 100%% = original size)\n");
printf("-r , --rate <fps> Set movie framerate to <fps>
(frames/sec)\n");