Blame man/tiffset.1

Packit Service db44fb
.\" $Id: tiffset.1,v 1.3 2006/04/20 12:17:19 dron Exp $
Packit Service db44fb
.\"
Packit Service db44fb
.\" Copyright (c) 1988-1997 Sam Leffler
Packit Service db44fb
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
Packit Service db44fb
.\"
Packit Service db44fb
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit Service db44fb
.\" its documentation for any purpose is hereby granted without fee, provided
Packit Service db44fb
.\" that (i) the above copyright notices and this permission notice appear in
Packit Service db44fb
.\" all copies of the software and related documentation, and (ii) the names of
Packit Service db44fb
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit Service db44fb
.\" publicity relating to the software without the specific, prior written
Packit Service db44fb
.\" permission of Sam Leffler and Silicon Graphics.
Packit Service db44fb
.\" 
Packit Service db44fb
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit Service db44fb
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit Service db44fb
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit Service db44fb
.\" 
Packit Service db44fb
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit Service db44fb
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit Service db44fb
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit Service db44fb
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit Service db44fb
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit Service db44fb
.\" OF THIS SOFTWARE.
Packit Service db44fb
.\"
Packit Service db44fb
.if n .po 0
Packit Service db44fb
.TH TIFFSET 1 "November 21, 2004" "libtiff"
Packit Service db44fb
.SH NAME
Packit Service db44fb
tiffset \- set a field in a
Packit Service db44fb
.SM TIFF
Packit Service db44fb
header
Packit Service db44fb
.SH SYNOPSIS
Packit Service db44fb
.B tiffset
Packit Service db44fb
[
Packit Service db44fb
.I options
Packit Service db44fb
]
Packit Service db44fb
.I filename.tif
Packit Service db44fb
.SH DESCRIPTION
Packit Service db44fb
.I Tiffset
Packit Service db44fb
sets the value of a
Packit Service db44fb
.SM TIFF
Packit Service db44fb
header to a specified value.
Packit Service db44fb
.SH OPTIONS
Packit Service db44fb
.TP
Packit Service db44fb
.BI \-s " tagnumber" "\fR [\fP" " count" "\fR ]\fP" " value ..."
Packit Service db44fb
Set the value of the named tag to the value or values specified.
Packit Service db44fb
.TP
Packit Service db44fb
.BI \-sf " tagnumber filename"
Packit Service db44fb
Set the value of the tag to the contents of filename.  This option is
Packit Service db44fb
supported for ASCII tags only.
Packit Service db44fb
.SH EXAMPLES
Packit Service db44fb
The following example sets the image description tag (270) of a.tif to
Packit Service db44fb
the contents of the file descrip:
Packit Service db44fb
.RS
Packit Service db44fb
.nf
Packit Service db44fb
tiffset \-sf 270 descrip a.tif
Packit Service db44fb
.fi
Packit Service db44fb
.RE
Packit Service db44fb
.PP
Packit Service db44fb
The following example sets the artist tag (315) of a.tif to the string
Packit Service db44fb
``Anonymous'':
Packit Service db44fb
.RS
Packit Service db44fb
.nf
Packit Service db44fb
tiffset \-s 305 Anonymous a.tif
Packit Service db44fb
.fi
Packit Service db44fb
.RE
Packit Service db44fb
.PP
Packit Service db44fb
This example sets the resolution of the file a.tif to 300 dpi:
Packit Service db44fb
.RS
Packit Service db44fb
.nf
Packit Service db44fb
tiffset \-s 296 2 a.tif
Packit Service db44fb
tiffset \-s 282 300.0 a.tif
Packit Service db44fb
tiffset \-s 283 300.0 a.tif
Packit Service db44fb
.fi
Packit Service db44fb
.RE
Packit Service db44fb
.SH "SEE ALSO"
Packit Service db44fb
.BR tiffdump (1),
Packit Service db44fb
.BR tiffinfo (1),
Packit Service db44fb
.BR tiffcp (1),
Packit Service db44fb
.BR libtiff (3TIFF)
Packit Service db44fb
.PP
Packit Service db44fb
Libtiff library home page:
Packit Service db44fb
.BR http://www.remotesensing.org/libtiff/