我看到了这个帖子:SWFTools Segmentation Fault
当我尝试使用pdf2swf将PDF转换为SWF时,我得到一个错误:
/usr/local/bin/pdf2swf /var/www/html/ny-sto-p.watchitoo.com/content/userContent/2/1GRKm/1GRKm.pdf -i -p 5 -o /var/www/html/ny-sto-p.watchitoo.com/content/userContent/2/1GRKm/1GRKm-5.swf
NOTICE processing PDF page 5 (720x540:0:0) (move:0:0)
NOTICE File contains pbm pictures
NOTICE File contains shaded fills
NOTICE File contains axial shaded fills
NOTICE File contains soft masks
Segmentation fault当我添加"-O 1“时,一切都正常了:
/usr/local/bin/pdf2swf /var/www/html/ny-sto-p.watchitoo.com/content/userContent/2/1GRKm/1GRKm.pdf -i -O 1 -p 5 -o /var/www/html/ny-sto-p.watchitoo.com/content/userContent/2/1GRKm/1GRKm-5.swf
NOTICE processing PDF page 5 (720x540:0:0) (move:0:0)
NOTICE Writing SWF file /var/www/html/ny-sto-p.watchitoo.com/content/userContent/2/1GRKm/1GRKm-5.swf任何人都能说出"-O 1“标志剂量是什么?我搜索了http://swftools.org/,但没有成功。
太好了,艾尔达。
发布于 2010-06-03 19:13:34
级别为
-O 1 == -s poly2bitmap
-O 2 == -s poly2bitmap -s bitmapfonts
-O 3 == -s poly2bitmap -s bitmapfonts -s ignoredraworder这可能意味着在Flash中将矢量艺术/字母转换为更简单的矢量会发生崩溃。我已经有一段时间没有使用swftools了(自从它使用libart来做这类事情以来),但我们使用最新的快照或CVS而不是编号版本的问题通常较少,以防有帮助。
发布于 2010-08-04 12:29:11
我试过swf 2,它可以工作,但-O页面只是位图:
pdf2swf my.pdf -O 2 -o my%.swf
%输出1 swf每页的pdf。
https://stackoverflow.com/questions/2965171
复制相似问题