Blame man/tiffset.1

Packit 994f1a
.\" $Id: tiffset.1,v 1.3 2006/04/20 12:17:19 dron Exp $
Packit 994f1a
.\"
Packit 994f1a
.\" Copyright (c) 1988-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 TIFFSET 1 "November 21, 2004" "libtiff"
Packit 994f1a
.SH NAME
Packit 994f1a
tiffset \- set a field in a
Packit 994f1a
.SM TIFF
Packit 994f1a
header
Packit 994f1a
.SH SYNOPSIS
Packit 994f1a
.B tiffset
Packit 994f1a
[
Packit 994f1a
.I options
Packit 994f1a
]
Packit 994f1a
.I filename.tif
Packit 994f1a
.SH DESCRIPTION
Packit 994f1a
.I Tiffset
Packit 994f1a
sets the value of a
Packit 994f1a
.SM TIFF
Packit 994f1a
header to a specified value.
Packit 994f1a
.SH OPTIONS
Packit 994f1a
.TP
Packit 994f1a
.BI \-s " tagnumber" "\fR [\fP" " count" "\fR ]\fP" " value ..."
Packit 994f1a
Set the value of the named tag to the value or values specified.
Packit 994f1a
.TP
Packit 994f1a
.BI \-sf " tagnumber filename"
Packit 994f1a
Set the value of the tag to the contents of filename.  This option is
Packit 994f1a
supported for ASCII tags only.
Packit 994f1a
.SH EXAMPLES
Packit 994f1a
The following example sets the image description tag (270) of a.tif to
Packit 994f1a
the contents of the file descrip:
Packit 994f1a
.RS
Packit 994f1a
.nf
Packit 994f1a
tiffset \-sf 270 descrip a.tif
Packit 994f1a
.fi
Packit 994f1a
.RE
Packit 994f1a
.PP
Packit 994f1a
The following example sets the artist tag (315) of a.tif to the string
Packit 994f1a
``Anonymous'':
Packit 994f1a
.RS
Packit 994f1a
.nf
Packit Service 55a0b9
tiffset \-s 305 Anonymous a.tif
Packit 994f1a
.fi
Packit 994f1a
.RE
Packit 994f1a
.PP
Packit 994f1a
This example sets the resolution of the file a.tif to 300 dpi:
Packit 994f1a
.RS
Packit 994f1a
.nf
Packit 994f1a
tiffset \-s 296 2 a.tif
Packit 994f1a
tiffset \-s 282 300.0 a.tif
Packit 994f1a
tiffset \-s 283 300.0 a.tif
Packit 994f1a
.fi
Packit 994f1a
.RE
Packit 994f1a
.SH "SEE ALSO"
Packit 994f1a
.BR tiffdump (1),
Packit 994f1a
.BR tiffinfo (1),
Packit 994f1a
.BR tiffcp (1),
Packit 994f1a
.BR libtiff (3TIFF)
Packit 994f1a
.PP
Packit 994f1a
Libtiff library home page:
Packit 994f1a
.BR http://www.remotesensing.org/libtiff/