0
我坚持这个问题, 我在PHP中使用此命令将PDF文件转换为SWF文件:
exec("C:\\SWFTools\\pdf2swf.exe ".$source." -o ".$converted." -f -T 9 -t -s storeallcharacters");
虽然几乎所有的PDF文件都是正确转换并链接到我的查看器。但是,有一些不能转换,所以我做手工,在命令行一些PDF文件,我碰到这样的错误:
NOTICE processing PDF page 9 (595x842:0:0)
ERROR ID Table overflow
ERROR This file is too complex to render- SWF only supports 65536 shapes at once
嗯,我做了一些研究http://comments.gmane.org/gmane.comp.tools.swftools.general/2098 ,并试图解决方案它的工作。
但是我的问题是这样的,我现在不能使用此命令链接这个swf文件到rfxviewer:
exec("C:\\SWFTools\\swfcombine.exe -o ".$combined." C:\\SWFTools\\swfs\\rfxview.swf viewport=".$converted);
我已经试过了CMD的事情,它显示了这个错误:
Warning: File contains both flash 8 and flash 9 actionscript
Warning: File contains both flash 8 and flash 9 actionscript
我怎样才能将这个SWF文件链接到我的查看器?我错过任何重要的命令吗?请帮助。