Man Linux: Main Page and Category List

NAME

       jpegoptim - utility to optimize/compress JPEG/JFIF files.

SYNOPSIS

       jpegoptim [ options ] [ filenames ]

DESCRIPTION

       jpegoptim  is  used  to  optimize/compress jpeg files. Program supports
       lossless optimization, which is based on optimizing the Huffman tables.
       And  so  called  "lossy"  optimization  where in addition to optimizing
       Huffman tables user can specify upperlimit for image quality.

OPTIONS

       Options may be either the traditional POSIX one letter options, or  the
       GNU style long options.  POSIX style options start with a single ‘‘-’’,
       while GNU long options start with ‘‘--’’.

       Options offered by jpegoptim are the following:

       -d<path>, --dest=<path>
             Sets alternative destination directory where  to  save  optimized
             files  (default  is to overwrite the originals). Please note that
             unchanged files won’t be added to the destination directory. This
             means  if  the  source  file can’t be compressed, no file will be
             created in the destination path.

       -f, --force
             Force optimization, even if the result would be larger  than  the
             original file.

       -h, --help
             Displays short usage information and exits.

       -m[0..100], --max=[0..100]
             Sets   the   maximum  image  quality  factor  (disables  lossless
             optimization mode, which is by default enabled). This option will
             reduce quality of those source files that were saved using higher
             quality setting.  While files that  already  have  lower  quality
             setting  will  be  compressed  using  the  lossless  optimization
             method.

       -n, --noaction
             Don’t really optimize files, just print results.

       -o, --overwrite
             Overwrite target file even if it exists (when using -d option).

       -p, --preserve
             Preserve file modification times.

       -q, --quiet
             Quiet mode.

       -t, --totals
             Print totals after processing all files.

       -v, --verbose
             Enables verbose mode (positively chatty).

       --strip-all
             Strip all (Comment & Exif) markers from output  file.  (NOTE!  by
             default  only Comment & Exif markers are kept, everything else is
             discarded)

       --strip-com
             Strip Comment (COM) markers from output file.

       --strip-exif
             Strip EXIF markers from output file.

       --strip-iptc
             Strip IPTC markers from output file.

       --strip-icc
             Strip ICC profiles from output file.

BUGS

       When optimizing progressive jpeg, result will be a normal jpeg.

SEE ALSO

       jpeginfo(1)

AUTHOR

       Timo Kokkonen <tjko@iki.fi>

COPYING

       Copyright (C) 1996,2002,2009  Timo Kokkonen

       This program is free software; you can redistribute it and/or modify it
       under  the  terms of the GNU General Public License as published by the
       Free Software Foundation; either version 2 of the License, or (at  your
       option) any later version.
        This  program  is  distributed in the hope that it will be useful, but
       WITHOUT  ANY  WARRANTY;  without   even   the   implied   warranty   of
       MERCHANTABILITY  or  FITNESS  FOR  A  PARTICULAR  PURPOSE.  See the GNU
       General Public License for more details.
        You should have received a copy of  the  GNU  General  Public  License
       along with this program; if not, write to the Free Software Foundation,
       Inc., 675 Mass Ave, Cambridge, MA 02139, USA.