SWFTools 分段错误
我看到了那个线程: SWFTools 分段错误
当我尝试使用 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/ 但没有成功。
谢谢, 埃尔达德。
I saw that thread:
SWFTools Segmentation Fault
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
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
Anyone can tell what is that "-O 1" flag dose?
I search http://swftools.org/ with no success.
Thans,
eldad.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可能意味着
将矢量艺术/字母转换为更简单的 Flash 矢量时会发生崩溃。我已经有一段时间没有使用 swftools 了(因为它使用 libart 来做这类事情),但我们通常使用最近的快照或 CVS 遇到的问题较少,而不是使用编号版本,以防万一有帮助。
The levels are
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.
我尝试了 -O 2 并且它有效,但 swf 页面仅位图:
pdf2swf my.pdf -O 2 -o my%.swf
% 每页 pdf 输出 1 个 swf。
I tried -O 2 and it worked, but the swf page is bitmapped only:
pdf2swf my.pdf -O 2 -o my%.swf
% outputs 1 swf per page of pdf.