SWFTools 分段错误 [英] SWFTools Segmentation Fault

查看:21
本文介绍了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.

谢谢,长老.

推荐答案

关卡是

-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天全站免登陆