+++ to secure your transactions use the Bitcoin Mixer Service +++

 

Jump to content

SWFTools: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Minor refinement.
m →‎Tools: Minor fix
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{multiple issues|
{{Multiple issues|
{{refimprove|date=October 2014}}
{{Refimprove|date=October 2014}}
{{notability|Products|date=October 2014}}
{{Notability|Products|date=October 2014}}
}}
}}


Line 15: Line 15:
| operating_system = [[Cross-platform]]
| operating_system = [[Cross-platform]]
| genre = [[Utility software]] - [[PDF]] [[SWF]]
| genre = [[Utility software]] - [[PDF]] [[SWF]]
| license = [[GNU General Public License|GNU GPL]]
| license = [[GNU General Public License|GPL-2.0-or-later]]
| website = {{URL|http://swftools.org}}
| website = {{URL|http://swftools.org/}}
}}
}}


'''SWFTools''' is an [[open source]] software tool suite for creating and manipulating [[SWF]] files. Distributed under the terms of the [[GNU General Public License]], it may be compiled from C source, to run under Linux, Microsoft Windows, and Apple OS X.<ref name=brighthub>{{cite web|last1=Bowen|first1=Ronda|title=Top 5 Low-Budget and Free Flash Editors|url=http://www.brighthub.com/internet/web-development/articles/73998.aspx|website=Brighthub.com|publisher=Bright Hub Inc.|accessdate=7 February 2015|date=13 March 2011}}</ref> On [[Microsoft Windows]] systems, the pre-compiled installer also installs a GUI wrapper for the suite's PDF to SWF conversion tool, '''pdf2swf'''.
'''SWFTools''' is an [[Open-source software|open source]] software tool suite for creating and manipulating [[SWF]] files. Distributed under the terms of the [[GNU General Public License|GPL-2.0-or-later]], it may be compiled from C source, to run under Linux, Microsoft Windows, and Apple OS X.<ref name=brighthub>{{cite web|last1=Bowen|first1=Ronda|title=Top 5 Low-Budget and Free Flash Editors|url=http://www.brighthub.com/internet/web-development/articles/73998.aspx|website=Brighthub.com|publisher=Bright Hub Inc.|accessdate=7 February 2015|date=13 March 2011}}</ref> On [[Microsoft Windows]] systems, the pre-compiled installer also installs a GUI wrapper for the suite's PDF to SWF conversion tool, '''pdf2swf'''.


SWFTools relies upon, and links against, additional third-party libraries for some of its functionality, e.g. [[Xpdf]] and [[PDFlib]], [[freetype]], [[libjpeg]].
SWFTools relies upon, and links against, additional third-party libraries for some of its functionality, e.g. [[Xpdf]], PDFlib, [[freetype]], and [[libjpeg]].


==Tools==
==Tools==
Line 34: Line 34:
|-
|-
|'''avi2swf'''
|'''avi2swf'''
|AVI animation files to SWF converter (now deprecated, use [http://www.mplayerhq.hu MEncoder] or [http://www.ffmpeg.org/ ffmpeg] for this).
|AVI animation files to SWF converter (now deprecated, use MEncoder or ffmpeg for this).
|-
|-
|'''font2swf'''
|'''font2swf'''
Line 46: Line 46:
|-
|-
|'''pdf2swf'''
|'''pdf2swf'''
|PDF to SWF Converter. Generates one frame per page. Enables fully formatted text, ::including tables and formulas, inside a Flash Movie. It is based on the xpdf PDF parser from ::Derek B. Noonburg.
|PDF to SWF Converter. Generates one frame per page. Enables fully formatted text, ::including tables and formulas, inside a SWF. It is based on the xpdf PDF parser from ::Derek B. Noonburg.
|-
|-
|'''png2swf'''
|'''png2swf'''
Line 52: Line 52:
|-
|-
|'''swfbbox'''
|'''swfbbox'''
|Allows to read out, optimize and readjust SWF bounding boxes.
|Allows reading, optimizing and readjusting SWF bounding boxes.
|-
|-
|'''swfc'''
|'''swfc'''
|SWF file creation from simple script files. Includes ActionScript 2.0/3,0 support.
|SWF file creation from simple script files. Includes ActionScript 2.0/3.0 support.
|-
|-
|'''swfcombine'''
|'''swfcombine'''
Line 76: Line 76:
|}
|}


Extra and/or adapted commands are available in the development versions and the Git repository. Detailed information is available on the SWFTools Documentation Wiki.<ref>[http://wiki.swftools.org SWFTools Documentation Wiki]</ref>
Extra and/or adapted commands are available in the development versions and the Git repository.


The SWFTools suite also includes a Python gFX API library, consisting of a PDF parser (based on [[xpdf]]) and a number of rendering back-ends. Using the API, one can extract text from PDF pages, create bitmaps from PDF, and convert PDF files to SWF. The latter functionality is similar to that offered by the standalone '''pdf2swf''' utility detailed above, but more powerful: the API can create individual SWF files from single PDF pages, or composite pages from different PDF files.
The SWFTools suite also includes a Python gFX API library, consisting of a PDF parser (based on [[xpdf]]) and a number of rendering back-ends. Using the API, one can extract text from PDF pages, create bitmaps from PDF, and convert PDF files to SWF. The latter functionality is similar to that offered by the standalone '''pdf2swf''' utility detailed above, but more powerful: the API can create individual SWF files from single PDF pages, or composite pages from different PDF files.


==References and external links==
==References==
{{Reflist}}
<references/>

* {{Official website|http://www.swftools.org}}
==External links==
* {{Official website|http://www.swftools.org/}}


{{Adobe Flash}}
{{Adobe Flash}}

Latest revision as of 00:49, 21 December 2021

SWFTools
Developer(s)Matthias Kramm and others
Initial release2003; 21 years ago (2003)
Stable release
0.9.2 Stable / April 8, 2012; 12 years ago (2012-04-08)
Repository
Written inC
Operating systemCross-platform
TypeUtility software - PDF SWF
LicenseGPL-2.0-or-later
Websiteswftools.org

SWFTools is an open source software tool suite for creating and manipulating SWF files. Distributed under the terms of the GPL-2.0-or-later, it may be compiled from C source, to run under Linux, Microsoft Windows, and Apple OS X.[1] On Microsoft Windows systems, the pre-compiled installer also installs a GUI wrapper for the suite's PDF to SWF conversion tool, pdf2swf.

SWFTools relies upon, and links against, additional third-party libraries for some of its functionality, e.g. Xpdf, PDFlib, freetype, and libjpeg.

Tools[edit]

The current stable SWFTools suite, version 0.9.2, consists of the following components:

Component Brief Description
as3compile A standalone ActionScript 3.0 compiler.
avi2swf AVI animation files to SWF converter (now deprecated, use MEncoder or ffmpeg for this).
font2swf Font file (TTF, Type1) conversion to SWF.
gif2swf GIFs to SWF conversion. Able to handle animated gifs.
jpeg2swf Generates a slideshow from one or more JPEG pictures. Supports motion estimation compression (h.263) for better compression of video sequences.
pdf2swf PDF to SWF Converter. Generates one frame per page. Enables fully formatted text, ::including tables and formulas, inside a SWF. It is based on the xpdf PDF parser from ::Derek B. Noonburg.
png2swf Like JPEG2SWF, only for PNGs.
swfbbox Allows reading, optimizing and readjusting SWF bounding boxes.
swfc SWF file creation from simple script files. Includes ActionScript 2.0/3.0 support.
swfcombine Multi-function tool for SWF insertion into Wrapper SWFs, SWF concatenation, stacking, and basic parameter manipulation (e.g. size change ).
swfdump Prints out SWF information, i.e. images/fonts/sounds, contained code disassembly, cross-reference and bounding box data.
swfextract SWF element extraction: Movieclips, Sounds, Images, shapes, etc.
swfrender Bitmap rendering from swf files created with pdf2swf, jpeg2swf or png2swf.
swfstrings Scans SWFs for text data.
wav2swf WAV audio to SWF conversion.

Extra and/or adapted commands are available in the development versions and the Git repository.

The SWFTools suite also includes a Python gFX API library, consisting of a PDF parser (based on xpdf) and a number of rendering back-ends. Using the API, one can extract text from PDF pages, create bitmaps from PDF, and convert PDF files to SWF. The latter functionality is similar to that offered by the standalone pdf2swf utility detailed above, but more powerful: the API can create individual SWF files from single PDF pages, or composite pages from different PDF files.

References[edit]

  1. ^ Bowen, Ronda (13 March 2011). "Top 5 Low-Budget and Free Flash Editors". Brighthub.com. Bright Hub Inc. Retrieved 7 February 2015.

External links[edit]