Skip to content

arkq/swfpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWF compressor/decompressor Build Status

Swfpack provides a convenient way of compressing and decompressing Adobe Flash files also known as Macromedia Flash. This utility can act as an extension for the SWFTools - the collection of utilities for working with Adobe Flash files.

Installation

$ autoreconf --install
$ mkdir build && cd build
$ ../configure
$ make && make install

Usage

$ swfpack -h
usage: swfpack [ -cdhz ] [ filename ]
  -h, --help            print this help and exit
  -d, --decompress      decompress given SWF file
  -c, --compress        compress SWF file using DEFLATE algorithm
  -z, --zcompress       compress SWF file using LZMA algorithm

In place compression/decompression:

$ swfpack -c uncompressed.swf

or

$ swfpack -d lzma-compressed.swf

Swfpack can also read SWF file content from the standard input and write processed file to the standard output. By this way of processing, one can use swfpack as a part of processing toolchain, e.g.:

$ curl http://www.swftools.org/flash/box.swf |swfpack -z >box.swf

Similar projects

  1. swfzip - python script for compressing/decompressing SWF files
  2. xxxswf - another python script for manipulating SWF files