| 1 |
'\" t |
| 2 |
.\" Title: gifinto |
| 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 "GIFINTO" "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 |
gifinto \- save GIF on stdin to file if size over set threshold |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\fBgifinto\fR\ 'u |
| 34 |
\fBgifinto\fR [\-v] [\-s\ \fIminsize\fR] [\-h] [\fIoutfile\fR] |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.PP |
| 37 |
A program to save stdin into a file with given name, if and only if the result file has size bigger than specified (see below)\&. This can be used to save a result under the same filename we started with in a chain of pipes\&. |
| 38 |
.PP |
| 39 |
Always reads 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 |
\-s MinFileSize |
| 48 |
.RS 4 |
| 49 |
If file is less than MinFileSize, it is deleted and not renamed to the given name\&. This will prevent killing the file we started with if the result is an empty file, or the pipeline did not complete\&. |
| 50 |
.sp |
| 51 |
The default file threshold size is 14 bytes, which is 1 bigger than GIF file stamp (6 bytes) plus a GIF file screen descriptor (7 bytes), so a GIF file with only GIF stamp and screen descriptor will not be renamed\&. |
| 52 |
.RE |
| 53 |
.PP |
| 54 |
\-h |
| 55 |
.RS 4 |
| 56 |
Print one line of command line help, similar to Usage above\&. |
| 57 |
.RE |
| 58 |
.SH "AUTHOR" |
| 59 |
.PP |
| 60 |
Gershon Elber\&. |