manpagez: man pages & more
man imagsize(1)
Home | html | info | man
imagsize(1)                                                        imagsize(1)




NAME

       imagsize  - figure out the image size of BMP, GIF, JPEG, PBM, PGM, PPM,
       PNG, TIFF, XBM, and XPM files


SYNOPSIS

       imagsize [-f file_list] [-h(elp)] [-n(ormal_format)] [-p(ipe)] [-x(win-
       dow_format)] [-v(erbose)] [-w(eb_format)] file...


DESCRIPTION

       imagsize  figures  out the dimensions of BMP, GIF, JPEG, PBM, PGM, PPM,
       PNG, TIFF, XBM, and XPM files.  It also determines a few other  numbers
       (bit  depth, quality estimates, etc.) for a subset of the file formats.
       It's a minimal program for situations where you don't want  to  install
       (or use) a large image manipulation package such as ImageMagick.


OPTIONS

       -h     Print help and quit.

       -n     Print output in normal format.  This is the default.

       -w     Print output in a format suitable for including in an HTML-based
              Web page.

       -x     Print outout in a format suitable for including in command lines
              of X-Window program commands

       -f filelist
              Read the names of files to be processed from the specified file.

       -p     Read the names of files to be processed from stdin.

       -v     Verbose output.  Print results for non-image  files,  which  are
              normally skipped entirely.


NOTES

       The  -f and -p options can be used simultaneously with filenames speci-
       fied on the command line.


HISTORY

       The imagsize program is heavily derived from Jef Poskanzer's  excellent
       image_size  program.   The  JPEG  quality estimates (derived from Allen
       Hessenflow's jpegdump program) and various output format  options  were
       added by Brian Lindholm.


SEE ALSO

       identify(1)


COPYRIGHT

       Original  image_size  program copyright (C) 1997,1998 by Jef Poskanzer.
       All rights reserved except as specified below.

       Derived imagsize program copyright (C)  2004-2020  by  Brian  Lindholm.
       All rights reserved except as specified below.

       Redistribution and use in source and binary forms, with or without mod-
       ification, are permitted provided that  the  following  conditions  are
       met:

       1.  Redistributions  of  source  code  must  retain the above copyright
       notice, this list of conditions and the following disclaimer.

       2. Redistributions in binary form must reproduce  the  above  copyright
       notice,  this  list  of  conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.

       THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS  "AS  IS"  AND
       ANY  EXPRESS  OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
       POSE  ARE  DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
       LIABLE FOR ANY DIRECT, INDIRECT,  INCIDENTAL,  SPECIAL,  EXEMPLARY,  OR
       CONSEQUENTIAL  DAMAGES  (INCLUDING,  BUT NOT LIMITED TO, PROCUREMENT OF
       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;  OR  BUSI-
       NESS  INTERRUPTION)  HOWEVER  CAUSED  AND  ON  ANY THEORY OF LIABILITY,
       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
       OTHERWISE)  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

       The JPEG quality estimation algorithm used in this program  comes  from
       the  jpegdump  program,  which  is Copyright (C)1992 Handmade Software,
       Inc. by Allan N. Hessenflow.

       Permission to use, copy, modify, and distribute this software  and  its
       documentation  for  any purpose and without fee is hereby granted, pro-
       vided that the above copyright notice appear in  all  copies  and  that
       both  that  copyright  notice and this permission notice appear in sup-
       porting documentation.  This  software  is  provided  "as  is"  without
       express or implied warranty.



littleutils                       2020 Oct 08                      imagsize(1)

littleutils 1.2.3 - Generated Tue Dec 1 19:22:11 CST 2020
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.