| 1 |
'\" t |
| 2 |
.\" Title: giftext |
| 3 |
.\" Author: [see the "Author" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
| 5 |
.\" Date: 2 May 2012 |
| 6 |
.\" Manual: GIFLIB Documentation |
| 7 |
.\" Source: GIFLIB |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "GIFTEXT" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
giftext \- dump GIF pixels and metadata as text |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\fBgiftext\fR\ 'u |
| 34 |
\fBgiftext\fR [\-v] [\-c] [\-e] [\-z] [\-p] [\-r] [\-h] [\fIgif\-file\fR] |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.PP |
| 37 |
A program to dump (text only) general information about GIF file\&. |
| 38 |
.PP |
| 39 |
If no GIF file is given, giftext will try to read a GIF file from stdin\&. |
| 40 |
.SH "OPTIONS" |
| 41 |
.PP |
| 42 |
\-v |
| 43 |
.RS 4 |
| 44 |
Verbose mode (show progress)\&. Enables printout of running scan lines\&. |
| 45 |
.RE |
| 46 |
.PP |
| 47 |
\-c |
| 48 |
.RS 4 |
| 49 |
Dumps the color maps\&. |
| 50 |
.RE |
| 51 |
.PP |
| 52 |
\-e |
| 53 |
.RS 4 |
| 54 |
Dumps encoded bytes \- the pixels after compressed using LZ algorithm and chained to form bytes\&. This is the form the data is saved in the GIF file\&. Dumps in hex \- 2 digit per byte\&. |
| 55 |
.RE |
| 56 |
.PP |
| 57 |
\-z |
| 58 |
.RS 4 |
| 59 |
Dumps the LZ codes of the image\&. Dumps in hex \- 3 digits per code (as we are limited to 12 bits)\&. |
| 60 |
.RE |
| 61 |
.PP |
| 62 |
\-p |
| 63 |
.RS 4 |
| 64 |
Dumps the pixels of the image\&. Dumps in hex \- 2 digit per pixel (<=byte)\&. |
| 65 |
.RE |
| 66 |
.PP |
| 67 |
\-r |
| 68 |
.RS 4 |
| 69 |
Dumps raw pixels as one byte per pixel\&. This option inhibits all other options and only the pixels are dumped\&. This option may be used to convert GIF files into raw data\&. Note: the color map can be extracted by gifclrmp utility\&. If more than one image is included in the file, all images will be dumped in order\&. |
| 70 |
.RE |
| 71 |
.PP |
| 72 |
\-h |
| 73 |
.RS 4 |
| 74 |
Print one line of command line help, similar to Usage above\&. |
| 75 |
.RE |
| 76 |
.SH "AUTHOR" |
| 77 |
.PP |
| 78 |
Gershon Elber\&. |