1.5 SWFTools介绍
SWFTools是一个SWF处理、转换的开源工具,它的功能主要体现在:
1. SWF的抽取、合并、解析、读写;
2. PDF/JPEG/PNG/AVI/TTF/WAV等格式转换成SWF。
SWFTools是采用GPL开源协议,永久免费,现在SWFTools已经支持Solaris, Linux (32 bit 和 64 bit), FreeBSD, OpenBSD, HP-UX, Solaris, MacOS X and Windows 98/ME/2000/XP/Vista等多个系统。
,下载后安装后可以看到它的工具
官方对各个工具的描述:
- PDF2SWF A PDF to SWF Converter. Generates one frame per page. Enables you to have fully formatted text, including tables, formulas, graphics etc. inside your Flash Movie. It's based on the xpdf PDF parser from Derek B. Noonburg.
- SWFCombine A multi-function tool for inserting SWFs into Wrapper SWFs, contatenating SWFs, stacking SWFs or for basic parameter manipulation (e.g. changing size).
- SWFStrings Scans SWFs for text data.
- SWFDump Prints out various informations about SWFs, like contained images/fonts/sounds, disassembly of contained code as well as cross-reference and bounding box data.
- JPEG2SWF Takes one or more JPEG pictures and generates a SWF slideshow from them. Supports motion estimation compression (h.263) for better compression of video sequences.
- PNG2SWF Like JPEG2SWF, only for PNGs.
- GIF2SWF Converts GIFs to SWF. Also able to handle animated gifs.
- WAV2SWF Converts WAV audio files to SWFs, using the L.A.M.E. MP3 encoder library.
- AVI2SWF Converts AVI animation files to SWF. It supports Flash MX H.263 compression. Some examples can be found at examples.html. (Notice: this tool is not included anymore in the latest version, as ffmpeg or mencoder do a better job nowadays)
- Font2SWF Converts font files (TTF, Type1) to SWF.
- SWFBBox Allows to read out, optimize and readjust SWF bounding boxes.
- SWFC A tool for creating SWF files from simple script files. Includes support for both ActionScript 2.0 as well as ActionScript 3.0.
- SWFExtract Allows to extract Movieclips, Sounds, Images etc. from SWF files.
- AS3Compile A standalone ActionScript 3.0 compiler. Mostly compatible with Flex.
gpdf2swf的工作界面:
SWFTools官方网站:http://www.swftools.org/
转载请注明:转自http://ajava.org,请保留文章的完整。