SWFTools分割错误 [英] SWFTools Segmentation Fault

查看:228
本文介绍了SWFTools分割错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到:
SWFTools分段错误

当我尝试使用pdf2swf将PDF转换为SWF时,出现错误:

When I tried to convert a PDF to SWF using pdf2swf I got an error:

/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时,一切正常:

When I added "-O 1" everything worked:

/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/ ,没有成功。

Anyone can tell what is that "-O 1" flag dose? I search http://swftools.org/ with no success.

Thans,
eldad。

Thans, eldad.

推荐答案


$ b

The levels are

-O 1 == -s poly2bitmap
-O 2 == -s poly2bitmap -s bitmapfonts
-O 3 == -s poly2bitmap -s bitmapfonts -s ignoredraworder

这可能意味着将矢量艺术/字母到更简单的向量为Flash。我没有使用swftools一段时间(不是因为它使用libart的那种事情),但我们通常使用最近的快照或CVS,而不是编号的版本,如果有帮助的问题较少。

This probably means that there is crash converting vector art / letters into simpler vectors for Flash. I haven't worked with swftools for a while (not since it used libart for that sort of thing) but we generally had fewer problems with using very recent snapshots or CVS rather than numbered releases in case that helps.

这篇关于SWFTools分割错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆