Blame man/ppm2tiff.1

Packit 7838c8
.\" $Id: ppm2tiff.1,v 1.6 2016-09-25 20:05:51 bfriesen Exp $
Packit 7838c8
.\"
Packit 7838c8
.\" Copyright (c) 1991-1997 Sam Leffler
Packit 7838c8
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
Packit 7838c8
.\"
Packit 7838c8
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit 7838c8
.\" its documentation for any purpose is hereby granted without fee, provided
Packit 7838c8
.\" that (i) the above copyright notices and this permission notice appear in
Packit 7838c8
.\" all copies of the software and related documentation, and (ii) the names of
Packit 7838c8
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit 7838c8
.\" publicity relating to the software without the specific, prior written
Packit 7838c8
.\" permission of Sam Leffler and Silicon Graphics.
Packit 7838c8
.\" 
Packit 7838c8
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit 7838c8
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit 7838c8
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit 7838c8
.\" 
Packit 7838c8
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit 7838c8
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit 7838c8
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit 7838c8
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit 7838c8
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit 7838c8
.\" OF THIS SOFTWARE.
Packit 7838c8
.\"
Packit 7838c8
.if n .po 0
Packit 7838c8
.TH PPM2TIFF 1 "March 1, 2006" "libtiff"
Packit 7838c8
.SH NAME
Packit 7838c8
ppm2tiff \- create a
Packit 7838c8
.SM TIFF
Packit 7838c8
file from 
Packit 7838c8
.SM PPM, PGM
Packit 7838c8
and
Packit 7838c8
.SM PBM
Packit 7838c8
image files
Packit 7838c8
.SH SYNOPSIS
Packit 7838c8
.B ppm2tiff
Packit 7838c8
[
Packit 7838c8
.I options
Packit 7838c8
] [
Packit 7838c8
.I input.ppm
Packit 7838c8
]
Packit 7838c8
.I output.tif
Packit 7838c8
.SH DESCRIPTION
Packit 7838c8
.I ppm2tiff
Packit 7838c8
converts a file in the 
Packit 7838c8
.SM PPM, PGM
Packit 7838c8
and
Packit 7838c8
.SM PBM
Packit 7838c8
image formats to
Packit 7838c8
.SM TIFF.
Packit 7838c8
By default, the
Packit 7838c8
.SM TIFF
Packit 7838c8
image is created with data samples packed (\c
Packit 7838c8
.IR PlanarConfiguration =1),
Packit 7838c8
compressed with the Packbits algorithm (\c
Packit 7838c8
.IR Compression =32773),
Packit 7838c8
and with each strip no more than 8 kilobytes. These characteristics can be
Packit 7838c8
overridden, or explicitly specified with the options described below
Packit 7838c8
.PP
Packit 7838c8
If the
Packit 7838c8
.SM PPM
Packit 7838c8
file contains greyscale data, then the
Packit 7838c8
.I PhotometricInterpretation
Packit 7838c8
tag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
Packit 7838c8
.PP
Packit 7838c8
If no
Packit 7838c8
.SM PPM
Packit 7838c8
file is specified on the command line,
Packit 7838c8
.I ppm2tiff
Packit 7838c8
will read from the standard input.
Packit 7838c8
.SH OPTIONS
Packit 7838c8
.TP
Packit 7838c8
.B \-c
Packit 7838c8
Specify a compression scheme to use when writing image data:
Packit 7838c8
.B none 
Packit 7838c8
for no compression,
Packit 7838c8
.B packbits
Packit 7838c8
for PackBits compression (will be used by default),
Packit 7838c8
.B lzw
Packit 7838c8
for Lempel-Ziv & Welch compression,
Packit 7838c8
.B jpeg
Packit 7838c8
for baseline JPEG compression,
Packit 7838c8
.B zip
Packit 7838c8
for Deflate compression,
Packit 7838c8
.B g3
Packit 7838c8
for CCITT Group 3 (T.4) compression,
Packit 7838c8
and
Packit 7838c8
.B g4
Packit 7838c8
for CCITT Group 4 (T.6) compression.
Packit 7838c8
.TP
Packit 7838c8
.B \-r
Packit 7838c8
Write data with a specified number of rows per strip; by default the number of
Packit 7838c8
rows/strip is selected so that each strip is approximately 8 kilobytes.
Packit 7838c8
.TP
Packit 7838c8
.B \-R
Packit 7838c8
Mark the resultant image to have the specified X and Y resolution (in
Packit 7838c8
dots/inch).
Packit 7838c8
.SH "SEE ALSO"
Packit 7838c8
.BR tiffinfo (1),
Packit 7838c8
.BR tiffcp (1),
Packit 7838c8
.BR tiffmedian (1),
Packit 7838c8
.BR libtiff (3)
Packit 7838c8
.PP
Packit 7838c8
Libtiff library home page:
Packit 7838c8
.BR http://www.simplesystems.org/libtiff/