# Install swftools with Homebrew, MacPorts, Nix

SWF manipulation and generation tools. Version 0.9.2 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#swftools.

## Install

```sh
sudo av install brew:swftools
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install swftools
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install swftools
```

  Evidence: MacPorts ports tree: graphics/swftools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#swftools
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sw/swftools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:swftools
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/swftools>
- **Version:** 0.9.2
- **Source summary:** SWF manipulation and generation tools
- **Homepage:** <https://github.com/swftools/swftools>
- **Repository:** <https://github.com/swftools/swftools>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://distfiles.macports.org/swftools/swftools-0.9.2.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- as3compile (cli)
- font2swf (cli)
- png2swf (cli)
- swfbbox (cli)
- swfc (cli)
- swfcombine (cli)
- swfdump (cli)
- swfextract (cli)
- swfrender (cli)
- swfstrings (cli)
- wav2swf (cli)
- as3compile (alias)
- font2swf (alias)
- png2swf (alias)
- swfbbox (alias)
- swfc (alias)
- swfcombine (alias)
- swfdump (alias)
- swfextract (alias)
- swfrender (alias)
- swfstrings (alias)
- wav2swf (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.9.2
- Local data: ok
- Upstream repository: https://github.com/swftools/swftools
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

SWFTools is a collection of command-line utilities for reading, combining, extracting, and generating Adobe Flash SWF files. Its package-manager relevance comes from the Unix-toolbox shape of the project: many small executables such as swfdump, swfextract, png2swf, wav2swf, font2swf, swfc, and as3compile rather than one monolithic application.

### Project history

The official ChangeLog records the project from an initial 0.0.1 release through the 0.9 series. Across those releases the suite expanded from PDF and SWF manipulation into text extraction, image and audio conversion, Flash compression support, SWF bounding-box work, a scripting compiler, Python bindings, and ActionScript 3 tooling.

### Adoption history

The official README reports portability across Solaris, Linux, FreeBSD, OpenBSD, HP-UX, macOS, and older Windows releases. In package-manager culture, SWFTools survived the decline of browser Flash because archival, conversion, and inspection tasks still needed reproducible command-line tools.

### How it is used

Typical usage is file-oriented: inspect SWF metadata with swfdump, extract embedded assets with swfextract, combine or wrap movies with swfcombine, or generate SWF content from images, fonts, WAV audio, PDFs, or simple source scripts. This makes the suite closer to ImageMagick-style media plumbing than to an authoring environment.

### Why package nerds care

SWFTools matters to package nerds as a preservation-era media package: it packages a historically important but now legacy format, bundles many utilities with optional library dependencies, and keeps old Flash workflows scriptable on modern Unix-like systems.

### Timeline

- 0.0.1: Initial release recorded in the official ChangeLog.
- 0.3.0: png2swf and wav2swf added, alongside Flash 6 compressed SWF support.
- 0.5.0: swfc and swfbbox added.
- 0.9.0: as3compile added and SWF/Flash 8 and 9 support expanded.
- 0.9.2: Poppler integration work started for pdf2swf.

### Related projects

- Adobe Flash SWF is the file format SWFTools manipulates.
- xpdf and later Poppler appear in the official ChangeLog as PDF parser lineage for pdf2swf.
- LAME, zlib, freetype, and other media libraries appear in the build and feature history.

### Sources

- <https://github.com/swftools/swftools>
- <https://github.com/swftools/swftools/blob/master/ChangeLog>
- <https://www.swftools.org/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** swftools
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - swftools: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/swftools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - swftools: normalized package name match | MacPorts ports tree: graphics/swftools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [ffmpeg](https://pkg.so/brew/ffmpeg/) - Shares pkgdb curated category or tags: cli, media.
- [libpng](https://pkg.so/brew/libpng/) - Shares pkgdb curated category or tags: cli, media.
- [jpeg-turbo](https://pkg.so/brew/jpeg-turbo/) - Shares pkgdb curated category or tags: cli, media.
- [fontconfig](https://pkg.so/brew/fontconfig/) - Shares pkgdb curated category or tags: cli, media.
- [freetype](https://pkg.so/brew/freetype/) - Shares pkgdb curated category or tags: cli, media.
- [little-cms2](https://pkg.so/brew/little-cms2/) - Shares pkgdb curated category or tags: cli, media.
- [openexr](https://pkg.so/brew/openexr/) - Shares pkgdb curated category or tags: cli, media.
- [giflib](https://pkg.so/brew/giflib/) - Shares pkgdb curated category or tags: cli, media.
- [apngasm](https://pkg.so/brew/apngasm/) - Local package facts share a topical domain. Shared terms: cli, generation, media.
- [dromeaudio](https://pkg.so/brew/dromeaudio/) - Local package facts share a topical domain. Shared terms: cli, manipulation, media.
- [ffmpegthumbnailer](https://pkg.so/brew/ffmpegthumbnailer/) - Local package facts share a topical domain. Shared terms: cli, generation, media.

## Combined YAML source

View the package source record on GitHub. [combined/swftools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/swftools.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
