0.0
No commit activity in last 3 years
No release in over 3 years
Recompress a swf file with more aggressive DEFLATE settings
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Maximize SWF Compression

Minimize bandwidth costs and reduce page latency by decreasing the total size of your swf assets.

Usage

swf_recompress [options] swf_filename [output_swf_filename]
  -i, --in-place                   Compress the swf in-place, replacing the original file
  -a, --acquire-kzip               Download kzip tool
  -v, --version                    Show version & contributors
  -h, --help                       Show this message

If only one filename is given and the -i flag is not supplied, a new swf with the suffix _compressed will be created alongside the original file.

Thanks

License

As most of the code is based on Jos-Iven Hirth's work, this work is released under the same license.

Zero-clause BSD-style license (DGAF)

Redistribution and use in source and binary forms, with or without modification, are permitted.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.