文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > SWFTools pdf2swf 参数详解
侵权投诉

SWFTools pdf2swf 参数详解

SWFTools pdf2swf 参数详解
SWFTools提供了一系列将各种文件转成swf的工具:

font2swf.exe
gif2swf.exe
jpeg2swf.exe
pdf2swf.exe
png2swf.exe
wav2swf.exe
具体的功能就顾名思义了。

其中把pdf转成swf的工具就是pdf2swf了。在命令行中运行pdf2swf src.pdf des.swf一般能满足需求。而命令行参数可以通过pdf2swf -f得到:

-h , –help Print short help message and exit 打印帮助信息
-V , –version Print version info and exit 打印版本号
-o , –output file.swf Direct output to file.swf. If file.swf contains ‘13568621′ (file13568630.swf), then each page指定输出的swf文件名
-p , –pages range Convert only pages in range with range e.g. 1-20
or 1,4,6,9-11 or

指定转换的页面范围,使用的页码描述方法与打印机打印文件时候的选页一样

-P , –password password Use password for deciphering the pdf.指定打开pdf的密码
-v , –verbose Be verbose. Use more than one -v for greater effect.转换时输出详细的内容
-z , –zlib Use Flash 6 (MX) zlib compression.使用Flash 6的zlib压缩机制
-i , –ignore Allows pdf2swf to change the draw order of the pdf. This may make the generated允许程序修改pdf的绘制顺序,可能会导致结果与原来有差异
-j , –jpegquality quality Set quality of embedded jpeg pictures to quality. 0 is worst (small), 100 is best (big). (default:85)设置转换其中的jpeg图片的质量,从0到100,默认值是85。
-s , –set param=value Set a SWF encoder specific parameter. See pdf2swf -s help for more information. 设置SWF转码时候的参数,具体参数可以用pdf2swf -s help获取
-w , –samewindow When converting pdf hyperlinks, don’t make the links open a new window. 设置转换后的swf打开原pdf中的连接时使用相同的窗口
-t , –stop Insert a stop() command in each page. 在每页结尾添加一个stop()命令
-T , –flashversion num Set Flash Version in the SWF header to num. 设置SWF所使用的flash版本号
-F , –fontdir directory Add directory to the font search path. 指定字体文件所在路径
-b , –defaultviewer Link a standard viewer to the swf file. 指定默认的swf导航文件,用来翻页、放大缩小等等
-l , –defaultloader Link a standard preloader to the swf file which will be displayed while the main swf is loading. 指定默认的swf加载文件,用来显示加载进程效果
-B , –viewer filename Link viewer filename to the swf file. 指定swf导航文件,作用同-b
-L , –preloader filename Link preloader filename to the swf file. 指定swf加载文件,作用

第1页

你可能喜欢

热门文档

相关文档

  • SWFTools使用说明

    通过代码将 PDF 转换成 SWF 来说,现在比较常用的一种方式就是利用 SWFTools 工具中的 pdf2swf(http://www.swftools.org/) 。这个工具还是比较好用的。转换成的...

  • Installing swftools and pdf2swf on Ubuntu

    Installing swftools and pdf2swf on Ubuntu_计算机软件及应用_IT/计算机_专业资料。Installing swftools and pdf2swf on Ubuntu Linux I’ve been using swftools, ...

  • FlexPaper+SWFTools 实现仿百度文库及一些小问题

    参数说明如下: (SWFTools 我的默认安装路径是: E:\Program Files\) SWFTools:...3. Asp.net 调用 pdf2swf.exe 把 PDF 转换为 SWF 的用法 代码如下: private...

  • FlexPaper+swfTools仿文档在线阅读

    新建 DocConverter.java 注意:根据 SWFTools 安装路径不同需要修改 pdf2swf()方法中 pdf2swf.exe 的路径,我安装的路径是在 D 盘 main()测试中根据自己文档路径...

  • swftools 软件介绍

    swftools 软件介绍_IT/计算机_专业资料。SWFTOOLS软件介绍 2011年11月17日 Swf...PDF2SWF ? 在xpdf的基础上开发的,能解析pdf,并把pdf转成flash (SWF)文件,对...

  • liunx openoffice+swftools安装

    tar zxvf swftools-0.9.1.tar.gz 4)cd swftools-0.9.1 5)./configure 6)make 7)make install 8)测试一下是否可用 pdf2swf -o /path/output.swf -T ...

  • 使用SWFTools将PDF转成Flash

    tar -zvxfswftools-0.9.1.tar.gz cd swftools-0.9.1 ./configure make make install 安装结束 二.转换 基本命令: pdf2swf src.pdf des.swf src.pdf:PDF...

  • Java+FlexPaper+swfTools仿百度文库文档在线预览系统设...

    Java+FlexPaper+swfTools 仿百度文库文档在线预览系统设计与实现笔者最近在给客户...private String fileString;// (只涉及 pdf2swf 路径问题) ?? private String ...

  • Flexpaper二次开发入门教程

    pdf2swf.exe 的-t、-s、-o 参数,下一节我们对 pdf2swf.exe 的参数作详细...Flexpaper 简单使用通过上面三章的内容,大家对 Flexpaper、SWFTools 应该有大概的...

  • 服务器上的pdf2swf部署

    { /// /// pdf2swf.exe调用 /// public static class swftoolsHelp { ///... SWFTools pdf2swf 参数详... 4页 免费 Flexpaper二次开发入门教... 38页 ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email