错误为This file is too complex to render- SWF only supports 65536 shapes at once
网上查原因,是因为 文件太复杂,太大,pdf2swf 不支持
于是按照网上给出的方法进行尝试, 使用这个命令 pdf2swf 1.pdf -o 1.swf -f -T 9 -G -s poly2bitmap
更改后执行 总是 报错,无法转换
自己尝试修改了一下命令语言
String command = "";
if ("\\".equals(File.separator)) {
command = PDF2SWF_PATH + " -o \"" + swffile + "\" -s poly2bitmap -s flashversion=9 \"" + pdffile + "\"";
} else