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.
SWFTools relies upon, and links against, additional third-party libraries for some of its functionality, e.g. Xpdf, PDFlib, freetype, and libjpeg.
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.
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.