~ubuntu-branches/ubuntu/karmic/tiff/karmic-security

« back to all changes in this revision

Viewing changes to man/TIFFWriteRawStrip.3t

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2004-10-14 07:57:59 UTC
  • Revision ID: james.westby@ubuntu.com-20041014075759-a77e7zuaetya8cp0
Tags: upstream-3.6.1
ImportĀ upstreamĀ versionĀ 3.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" $Header: /cvsroot/osrs/libtiff/man/TIFFWriteRawStrip.3t,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $
 
2
.\"
 
3
.\" Copyright (c) 1988-1997 Sam Leffler
 
4
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
 
5
.\"
 
6
.\" Permission to use, copy, modify, distribute, and sell this software and 
 
7
.\" its documentation for any purpose is hereby granted without fee, provided
 
8
.\" that (i) the above copyright notices and this permission notice appear in
 
9
.\" all copies of the software and related documentation, and (ii) the names of
 
10
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
 
11
.\" publicity relating to the software without the specific, prior written
 
12
.\" permission of Sam Leffler and Silicon Graphics.
 
13
.\" 
 
14
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
 
15
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
 
16
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
 
17
.\" 
 
18
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
 
19
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
 
20
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
21
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
 
22
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
 
23
.\" OF THIS SOFTWARE.
 
24
.\"
 
25
.if n .po 0
 
26
.TH TIFFWriteRawstrip 3T "October 15, 1995"
 
27
.SH NAME
 
28
TIFFWriteRawStrip \- write a strip of raw data to an open
 
29
.SM TIFF
 
30
file
 
31
.SH SYNOPSIS
 
32
.B "#include <tiffio.h>"
 
33
.br
 
34
.B "tsize_t TIFFWriteRawStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size)"
 
35
.SH DESCRIPTION
 
36
Append
 
37
.I size
 
38
bytes of raw data to the specified strip.
 
39
.SH NOTES
 
40
The strip number must be valid according to the current settings
 
41
of the
 
42
.I ImageLength
 
43
and
 
44
.I RowsPerStrip
 
45
tags.
 
46
An image may be dynamically grown by increasing the value of
 
47
.I ImageLength
 
48
prior to each call to
 
49
.IR TIFFWriteRawStrip .
 
50
.SH "RETURN VALUES"
 
51
\-1 is returned if an error occurred.
 
52
Otherwise, the value of
 
53
.IR size 
 
54
is returned.
 
55
.SH DIAGNOSTICS
 
56
All error messages are directed to the
 
57
.IR TIFFError (3T)
 
58
routine.
 
59
.PP
 
60
\fB%s: File not open for writing\fP.
 
61
The file was opened for reading, not writing.
 
62
.PP
 
63
\fBCan not write scanlines to a tiled image\fP.
 
64
The image is assumed to be organized in tiles because the
 
65
.I TileWidth
 
66
and
 
67
.I TileLength
 
68
tags have been set with
 
69
.IR TIFFSetField (3T).
 
70
.PP
 
71
\fB%s: Must set "ImageWidth" before writing data\fP.
 
72
The image's width has not be set before the first write.
 
73
See
 
74
.IR TIFFSetField (3T)
 
75
for information on how to do this.
 
76
.PP
 
77
\fB%s: Must set "PlanarConfiguration" before writing data\fP.
 
78
The organization of data has not be defined before the first write.
 
79
See
 
80
.IR TIFFSetField (3T)
 
81
for information on how to do this.
 
82
.PP
 
83
\fB%s: No space for strip arrays"\fP.
 
84
There was not enough space for the arrays that hold strip
 
85
offsets and byte counts.
 
86
.PP
 
87
\fB%s: Strip %d out of range, max %d\fP.
 
88
The specified strip is not a valid strip according to the
 
89
currently specified image dimensions.
 
90
.SH "SEE ALSO"
 
91
.IR libtiff (3T),
 
92
.IR TIFFOpen (3T),
 
93
.IR TIFFWriteEncodedStrip (3T),
 
94
.IR TIFFWriteScanline (3T)