File: rgb2gif.html

package info (click to toggle)
giflib 4.1.6-9
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,968 kB
  • ctags: 1,009
  • sloc: ansic: 11,186; sh: 9,222; cpp: 907; makefile: 183; sed: 57; perl: 54
file content (59 lines) | stat: -rw-r--r-- 1,513 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!doctype HTML public "-//W3O//DTD W3 HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>rgb2gif</TITLE>
<link rev=made href=mailto:esr@snark.thyrsus.com>
</HEAD>
<BODY>
Go to <a href="index.html">index page</a>.

<CENTER><H1>rgb2gif</H1></CENTER>

A program to convert 24 bit images to a GIF image using color quantization.<P>


<H1>Usage:</H1>

<pre>
rgb2gif [-q] [-c #Colors] [-1] -s Width Height [-h] RGBFile
</pre>

If no RGBFile is given, RGB2Gif will try to read a GIF file from stdin.<P>

<H1>Memory required:</H1>

Screen.

<H1>Options:</H1>

<DL>
<DT> [-q]
<DD> Quiet mode.  Defaulte off on MSDOS, on under UNIX.  Controls printout
   of running scan lines.  Use -q- to invert.<P>

<DT> [-c #Colors] 
<DD> Specifies number of colors to use, in bits per pixels, so
   `-c 8' specifies actually 256 colors (maximum and default).<P>

<DT> [-1]
<DD> Only one file in the format of RGBRGB... triplets (Each of R, G, B
   is a byte) is read from input.  This file size is 3 * Width * Height (see
   `-s' below.  If stdin is used for input, this option is implicitly applied.
   The default (if not '-1') is 3 files with the names RGBFile.R, RGBFile.G,
   RGBFile.B, each of which is Width * Height bytes.<P>

<DT> [-s Width Height]
<DD> Specifies the size of the image to read.<P>

<DT> [-h]
<DD> Print one line of command line help, similar to Usage above.<P>
</DL>

<H1>Author:</H1>

Gershon Elber

<HR>
<ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com">&lt;esr@snark.thyrsus.com&gt;</A></ADDRESS>
</BODY>
</HTML>