"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.4/scripts/opt-gif.1" (28 Mar 2021, 2273 Bytes) of package /linux/privat/littleutils-1.2.4.tar.lz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 .TH OPT-GIF 1 "2021 Jan 15" littleutils
    2 .SH NAME
    3 opt-gif \- losslessly optimize GIF image files
    4 .SH SYNOPSIS
    5 \fBopt-gif\fR
    6 [\fB\-h(elp)\fR]
    7 [\fB\-q(uiet)\fR]
    8 [\fB\-t(ouch)\fR]
    9 \fIfile\|.\|.\|.\fR
   10 .SH DESCRIPTION
   11 \fBopt-gif\fR losslessly optimizes GIF images by removing unused palette
   12 entries.  This is accomplished using the \fBgifsicle\fR, \fBfilesize\fR, and
   13 \fBtempname\fR utilities.
   14 .SH OPTIONS
   15 .TP
   16 \fB\-h\fR
   17 Print help and quit.
   18 .TP
   19 \fB\-q\fR
   20 Quiet output.  No output commentary will be printed.
   21 .TP
   22 \fB\-t\fR
   23 Preserve timestamp on modified files.
   24 .SH EXAMPLES
   25 .TP
   26 Optimize a couple of image files:
   27 opt-gif image001.gif image002.gif
   28 .TP
   29 Optimize all GIF images in an entire directory tree:
   30 find . -name "*.gif" -exec opt-gif {} \\;
   31 .TP
   32 Or alternatively, optimize all GIF images this way:
   33 find . -name "*.gif" -print0 | xargs -0 opt-gif
   34 .TP
   35 Fully utilize a quad-core system while optimizing all GIF images:
   36 find . -name "*.gif" -print0 | xargs -0 -n 1 -P 4 opt-gif
   37 .br
   38 find . -name "*.gif" | parallel opt-gif
   39 .SH WARNING
   40 If your copy of the \fBgifsicle\fR utility was compiled without LZW support,
   41 this utility won't work.  Specifically, it will fail to reduce image sizes at
   42 all, leaving them unchanged.  [Versions of \fBgifsicle\fR without LZW support
   43 were intended to avoid infringing on Unisys' LZW patents.  These patents
   44 expired in the United States on 2003-06-20, in Europe on 2004-06-18, and in
   45 Japan on 2005-06-19.  If you have such a version, get a more recent copy with
   46 LZW support enabled.]  Even if your copy of \fBgifsicle\fR does work properly,
   47 the best solution is still to convert all of your GIF images to PNG, as PNG
   48 images are almost always smaller.
   49 .SH "SEE ALSO"
   50 \fBfilesize\fR(1), \fBgifsicle\fR(1), \fBtempname\fR(1)
   51 .SH COPYRIGHT
   52 Copyright (C) 2004-2021 by Brian Lindholm.  This program is free software; you
   53 can use it, redistribute it, and/or modify it under the terms of the GNU
   54 General Public License as published by the Free Software Foundation; either
   55 version 3, or (at your option) any later version.
   56 
   57 This program is distributed in the hope that it will be useful, but WITHOUT ANY
   58 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   59 PARTICULAR PURPOSE.  See the GNU General Public License for more details.