---
name: "rle2gif"
section: "1"
platform: "linux"
package: "libungif-bin"
version: "4.1.3-2sarge1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://carta.tech/man/rle2gif"
---

# rle2gif(1)

Program to convert RLE images to GIF.

## NAME

rle2gif - Program to convert RLE images to GIF.

## SYNOPSIS

rle2gif \[-q\] \[-c #Colors\] \[-h\] RleFile

## DESCRIPTION

A program to convert images saved as RLE (Utah raster toolkit) to GIF format.

If no RleFile is given, Rle2Gif will try to read an Rle file from stdin.

## OPTIONS

- **-q**

  Quiet mode.  Defaults off on MSDOS, on under UNIX.  Controls printout of running scan lines.  Use -q- to invert.\

- **-c #Colors**

  Select size of color map in the output Gif file. #Colors should be given as the based 2 log of number of colors. Default is 8 which is 256 colors, and which is also the maximum.\

- **-h**

  Print one line of command line help, similar to Usage above..

## NOTES

As the RLE format allows full 24 bits per pixel (8 per primary color) Colors must be quantized to the number of colors as set by the \[-c\] option, above. This process is quite slow.  See the quantize.c file in the lib directory for the code for this quantization algorithm (median cut).

## SEE ALSO

[*gif2bgi*(1)](/man/gif2bgi/1.md), [*gif2epsn*(1)](/man/gif2epsn/1.md), [*gif2herc*(1)](/man/gif2herc/1.md), [*gif2iris*(1)](/man/gif2iris/1.md), [*gif2ps*(1)](/man/gif2ps/1.md), [*gif2rgb*(1)](/man/gif2rgb/1.md), [*gif2rle*(1)](/man/gif2rle/1.md), [*gif2x11*(1)](/man/gif2x11/1.md), [*gifasm*(1)](/man/gifasm/1.md), [*gifbg*(1)](/man/gifbg/1.md), [*gifburst*(1)](/man/gifburst/1.md), [*gifclip*(1)](/man/gifclip/1.md), [*gifclrmp*(1)](/man/gifclrmp/1.md), [*gifcolor*(1)](/man/gifcolor/1.md), [*gifcomb*(1)](/man/gifcomb/1.md), [*gifcompose*(1)](/man/gifcompose/1.md), [*giffiltr*(1)](/man/giffiltr/1.md), [*giffix*(1)](/man/giffix/1.md), [*gifflip*(1)](/man/gifflip/1.md), [*gifhisto*(1)](/man/gifhisto/1.md), [*gifinter*(1)](/man/gifinter/1.md), [*gifinto*(1)](/man/gifinto/1.md), [*gifovly*(1)](/man/gifovly/1.md), [*gifpos*(1)](/man/gifpos/1.md), [*gifrotat*(1)](/man/gifrotat/1.md), [*gifrsize*(1)](/man/gifrsize/1.md), [*gifspnge*(1)](/man/gifspnge/1.md), [*giftext*(1)](/man/giftext/1.md), [*gifwedge*(1)](/man/gifwedge/1.md), [*icon2gif*(1)](/man/icon2gif/1.md), [*raw2gif*(1)](/man/raw2gif/1.md), [*rgb2gif*(1)](/man/rgb2gif/1.md), [*text2gif*(1)](/man/text2gif/1.md)

## COPYRIGHT

The GIFLIB distribution is Copyright (c) 1997  Eric S. Raymond

## AUTHORS

Gershon Elber

Eric S. Raymond \<esr@snark.thyrsus.com\>
