---
name: "gif2swf"
section: "1"
platform: "linux"
package: "swftools"
version: "0.9.2+git20130725-4.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/gif2swf"
---

# gif2swf(1)

Takes a number of gif files and converts them to a swf movie, one picture per frame.

## NAME

gif2swf - Takes a number of gif  files and converts them to a swf movie, one picture per frame.

## Synopsis

**gif2swf \[-X width\] \[-Y height\] \[-o file.swf\] \[-r rate\] file1.gif \[file2.gif ...\]**

## DESCRIPTION

This tools converts gif image files into an SWF animation. It takes any number of input pictures, and converts them to SWF one-by-one, where every converted picture is a separate frame in the target SWF.

## OPTIONS

- **-r**, **--rate** *framerate*

      Set movie framerate (frames per second)

- **-o**, **--output** *filename*

      Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)

- **-z**, **--zlib** *zlib*

      Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be\
       smaller, but not playable in Flash Plugins of Version 5 and below.

- **-l**, **--loop** *loop count*

      Set loop count. (default: 0 \[=infinite loop\])

- **-X**, **--pixel** *width*

      Force movie width to *width* (default: autodetect)

- **-Y**, **--pixel** *height*

      Force movie height to *height* (default: autodetect)

- **-v**, **--verbose** *level*

      Set verbose level (0=quiet, 1=default, 2=debug)

- **-C**, **--cgi**

      For use as CGI- prepend http header, write to stdout

- **-V**, **--version**

      Print version information and exit
