Blame man/ppm2tiff.1

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