• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
t
Title: gif2rgb
Author: [see the "Author" section]
Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
Date: 2 May 2012
Manual: GIFLIB Documentation
Source: GIFLIB
Language: English

"GIF2RGB" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"NAME"
gif2rgb - convert images saved as GIF to 24-bit RGB triplets
"SYNOPSIS"

\w'gif2rgb 'u gif2rgb [-v] [-1] [-c colors] [-s width height] [-o outfile] [-h] [gif-file]

"OPTIONS"

-v

Verbose mode (show progress). Enables printout of running scan lines.

-1

Only one file in the format of RGBRGB... triplets (Each of R, G,B is a byte) is being read or written. This file size is 3 * Width * Height. If stdin is used for input or stdout for output, this option is implicitly applied. The default (if not `-1\*(Aq) is 3 files with the names OutFileName.R, OutFileName.G, OutFileName.B, each of which is Width * Height bytes.

-c colors

Specifies number of colors to use in RGB-to-GIF conversions, in bits per pixels, so \*(Aq-c 8\*(Aq actually specifies 256 colors (maximum and default).

-s width height

Sets RGB-to-GIF conversion mode and specifies the size of the image to read.

-o

specifies the name of the out file (see also `-1\*(Aq above).

-h

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

By default, convert a GIF input file to RGB triplets. If -s is specified, convert RGB input to a GIF.

If no input file is given, gif2rgb will try to read data from stdin.

"AUTHOR"

Gershon Elber.