jpayne@68
|
1 '\" t
|
jpayne@68
|
2 .\" Title: gifinto
|
jpayne@68
|
3 .\" Author: [see the "Author" section]
|
jpayne@68
|
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
jpayne@68
|
5 .\" Date: 2 May 2012
|
jpayne@68
|
6 .\" Manual: GIFLIB Documentation
|
jpayne@68
|
7 .\" Source: GIFLIB
|
jpayne@68
|
8 .\" Language: English
|
jpayne@68
|
9 .\"
|
jpayne@68
|
10 .TH "GIFINTO" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation"
|
jpayne@68
|
11 .\" -----------------------------------------------------------------
|
jpayne@68
|
12 .\" * Define some portability stuff
|
jpayne@68
|
13 .\" -----------------------------------------------------------------
|
jpayne@68
|
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
jpayne@68
|
15 .\" http://bugs.debian.org/507673
|
jpayne@68
|
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
jpayne@68
|
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
jpayne@68
|
18 .ie \n(.g .ds Aq \(aq
|
jpayne@68
|
19 .el .ds Aq '
|
jpayne@68
|
20 .\" -----------------------------------------------------------------
|
jpayne@68
|
21 .\" * set default formatting
|
jpayne@68
|
22 .\" -----------------------------------------------------------------
|
jpayne@68
|
23 .\" disable hyphenation
|
jpayne@68
|
24 .nh
|
jpayne@68
|
25 .\" disable justification (adjust text to left margin only)
|
jpayne@68
|
26 .ad l
|
jpayne@68
|
27 .\" -----------------------------------------------------------------
|
jpayne@68
|
28 .\" * MAIN CONTENT STARTS HERE *
|
jpayne@68
|
29 .\" -----------------------------------------------------------------
|
jpayne@68
|
30 .SH "NAME"
|
jpayne@68
|
31 gifinto \- save GIF on stdin to file if size over set threshold
|
jpayne@68
|
32 .SH "SYNOPSIS"
|
jpayne@68
|
33 .HP \w'\fBgifinto\fR\ 'u
|
jpayne@68
|
34 \fBgifinto\fR [\-v] [\-s\ \fIminsize\fR] [\-h] [\fIoutfile\fR]
|
jpayne@68
|
35 .SH "DESCRIPTION"
|
jpayne@68
|
36 .PP
|
jpayne@68
|
37 A program to save stdin into a file with given name, 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\&.
|
jpayne@68
|
38 .PP
|
jpayne@68
|
39 Always reads a GIF file from stdin\&.
|
jpayne@68
|
40 .SH "OPTIONS"
|
jpayne@68
|
41 .PP
|
jpayne@68
|
42 \-v
|
jpayne@68
|
43 .RS 4
|
jpayne@68
|
44 Verbose mode (show progress)\&. Enables printout of running scan lines\&.
|
jpayne@68
|
45 .RE
|
jpayne@68
|
46 .PP
|
jpayne@68
|
47 \-s MinFileSize
|
jpayne@68
|
48 .RS 4
|
jpayne@68
|
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\&.
|
jpayne@68
|
50 .sp
|
jpayne@68
|
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\&.
|
jpayne@68
|
52 .RE
|
jpayne@68
|
53 .PP
|
jpayne@68
|
54 \-h
|
jpayne@68
|
55 .RS 4
|
jpayne@68
|
56 Print one line of command line help, similar to Usage above\&.
|
jpayne@68
|
57 .RE
|
jpayne@68
|
58 .SH "AUTHOR"
|
jpayne@68
|
59 .PP
|
jpayne@68
|
60 Gershon Elber\&.
|