src/3rdparty/libtiff/html/man/TIFFWriteRawStrip.3tiff.html
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!-- Creator     : groff version 1.18.1 -->
       
     2 <!-- CreationDate: Mon Mar 13 18:03:11 2006 -->
       
     3 <html>
       
     4 <head>
       
     5 <meta name="generator" content="groff -Thtml, see www.gnu.org">
       
     6 <meta name="Content-Style" content="text/css">
       
     7 <title>TIFFWriteRawstrip</title>
       
     8 </head>
       
     9 <body>
       
    10 
       
    11 <h1 align=center>TIFFWriteRawstrip</h1>
       
    12 <a href="#NAME">NAME</a><br>
       
    13 <a href="#SYNOPSIS">SYNOPSIS</a><br>
       
    14 <a href="#DESCRIPTION">DESCRIPTION</a><br>
       
    15 <a href="#NOTES">NOTES</a><br>
       
    16 <a href="#RETURN VALUES">RETURN VALUES</a><br>
       
    17 <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
       
    18 <a href="#SEE ALSO">SEE ALSO</a><br>
       
    19 
       
    20 <hr>
       
    21 <a name="NAME"></a>
       
    22 <h2>NAME</h2>
       
    23 <!-- INDENTATION -->
       
    24 <table width="100%" border=0 rules="none" frame="void"
       
    25        cols="2" cellspacing="0" cellpadding="0">
       
    26 <tr valign="top" align="left">
       
    27 <td width="8%"></td>
       
    28 <td width="91%">
       
    29 <p>TIFFWriteRawStrip &minus; write a strip of raw data to an
       
    30 open <small>TIFF</small> file</p>
       
    31 </td>
       
    32 </table>
       
    33 <a name="SYNOPSIS"></a>
       
    34 <h2>SYNOPSIS</h2>
       
    35 <!-- INDENTATION -->
       
    36 <table width="100%" border=0 rules="none" frame="void"
       
    37        cols="2" cellspacing="0" cellpadding="0">
       
    38 <tr valign="top" align="left">
       
    39 <td width="8%"></td>
       
    40 <td width="91%">
       
    41 <p><b>#include &lt;tiffio.h&gt;</b></p>
       
    42 <!-- INDENTATION -->
       
    43 <p><b>tsize_t TIFFWriteRawStrip(TIFF *</b><i>tif</i><b>,
       
    44 tstrip_t</b> <i>strip</i><b>, tdata_t</b> <i>buf</i><b>,
       
    45 tsize_t</b> <i>size</i><b>)</b></p>
       
    46 </td>
       
    47 </table>
       
    48 <a name="DESCRIPTION"></a>
       
    49 <h2>DESCRIPTION</h2>
       
    50 <!-- INDENTATION -->
       
    51 <table width="100%" border=0 rules="none" frame="void"
       
    52        cols="2" cellspacing="0" cellpadding="0">
       
    53 <tr valign="top" align="left">
       
    54 <td width="8%"></td>
       
    55 <td width="91%">
       
    56 <p>Append <i>size</i> bytes of raw data to the specified
       
    57 strip.</p>
       
    58 </td>
       
    59 </table>
       
    60 <a name="NOTES"></a>
       
    61 <h2>NOTES</h2>
       
    62 <!-- INDENTATION -->
       
    63 <table width="100%" border=0 rules="none" frame="void"
       
    64        cols="2" cellspacing="0" cellpadding="0">
       
    65 <tr valign="top" align="left">
       
    66 <td width="8%"></td>
       
    67 <td width="91%">
       
    68 <p>The strip number must be valid according to the current
       
    69 settings of the <i>ImageLength</i> and <i>RowsPerStrip</i>
       
    70 tags. An image may be dynamically grown by increasing the
       
    71 value of <i>ImageLength</i> prior to each call to
       
    72 <i>TIFFWriteRawStrip</i>.</p>
       
    73 </td>
       
    74 </table>
       
    75 <a name="RETURN VALUES"></a>
       
    76 <h2>RETURN VALUES</h2>
       
    77 <!-- INDENTATION -->
       
    78 <table width="100%" border=0 rules="none" frame="void"
       
    79        cols="2" cellspacing="0" cellpadding="0">
       
    80 <tr valign="top" align="left">
       
    81 <td width="8%"></td>
       
    82 <td width="91%">
       
    83 <p>&minus;1 is returned if an error occurred. Otherwise, the
       
    84 value of <i>size</i> is returned.</p>
       
    85 </td>
       
    86 </table>
       
    87 <a name="DIAGNOSTICS"></a>
       
    88 <h2>DIAGNOSTICS</h2>
       
    89 <!-- INDENTATION -->
       
    90 <table width="100%" border=0 rules="none" frame="void"
       
    91        cols="2" cellspacing="0" cellpadding="0">
       
    92 <tr valign="top" align="left">
       
    93 <td width="8%"></td>
       
    94 <td width="91%">
       
    95 <p>All error messages are directed to the
       
    96 <b>TIFFError</b>(3TIFF) routine.</p>
       
    97 <!-- INDENTATION -->
       
    98 <p><b>%s: File not open for writing</b>. The file was opened
       
    99 for reading, not writing.</p>
       
   100 <!-- INDENTATION -->
       
   101 <p><b>Can not write scanlines to a tiled image</b>. The
       
   102 image is assumed to be organized in tiles because the
       
   103 <i>TileWidth</i> and <i>TileLength</i> tags have been set
       
   104 with <b>TIFFSetField</b>(3TIFF).</p>
       
   105 <!-- INDENTATION -->
       
   106 <p><b>%s: Must set &quot;ImageWidth&quot; before writing
       
   107 data</b>. The image&rsquo;s width has not be set before the
       
   108 first write. See <b>TIFFSetField</b>(3TIFF) for information
       
   109 on how to do this.</p>
       
   110 <!-- INDENTATION -->
       
   111 <p><b>%s: Must set &quot;PlanarConfiguration&quot; before
       
   112 writing data</b>. The organization of data has not be
       
   113 defined before the first write. See
       
   114 <b>TIFFSetField</b>(3TIFF) for information on how to do
       
   115 this.</p>
       
   116 <!-- INDENTATION -->
       
   117 <p><b>%s: No space for strip arrays&quot;</b>. There was not
       
   118 enough space for the arrays that hold strip offsets and byte
       
   119 counts.</p>
       
   120 <!-- INDENTATION -->
       
   121 <p><b>%s: Strip %d out of range, max %d</b>. The specified
       
   122 strip is not a valid strip according to the currently
       
   123 specified image dimensions.</p>
       
   124 </td>
       
   125 </table>
       
   126 <a name="SEE ALSO"></a>
       
   127 <h2>SEE ALSO</h2>
       
   128 <!-- INDENTATION -->
       
   129 <table width="100%" border=0 rules="none" frame="void"
       
   130        cols="2" cellspacing="0" cellpadding="0">
       
   131 <tr valign="top" align="left">
       
   132 <td width="8%"></td>
       
   133 <td width="91%">
       
   134 <p><b>TIFFOpen</b>(3TIFF),
       
   135 <b>TIFFWriteEncodedStrip</b>(3TIFF),
       
   136 <b>TIFFWriteScanline</b>(3TIFF), <b>libtiff</b>(3TIFF)</p>
       
   137 <!-- INDENTATION -->
       
   138 <p>Libtiff library home page:
       
   139 <b>http://www.remotesensing.org/libtiff/</b></p>
       
   140 </td>
       
   141 </table>
       
   142 <hr>
       
   143 </body>
       
   144 </html>