✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/share/doc/libtiff-devel/html/man//TIFFWriteScanline.3tiff.html
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Mon Jul 13 20:00:00 2026 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>TIFFWriteScanline</title>

</head>
<body>

<h1 align="center">TIFFWriteScanline</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#NOTES">NOTES</a><br>
<a href="#RETURN VALUES">RETURN VALUES</a><br>
<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em">TIFFWriteScanline
&minus; write a scanline to an open <small>TIFF</small>
file</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>#include
&lt;tiffio.h&gt;</b></p>

<p style="margin-left:11%; margin-top: 1em"><b>int
TIFFWriteScanline(TIFF *</b><i>tif</i><b>, tdata_t</b>
<i>buf</i><b>, uint32_t</b> <i>row</i><b>, tsample_t</b>
<i>sample</i><b>)</b></p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Write data to a
file at the specified row. The <i>sample</i> parameter is
used only if data are organized in separate planes
(<i>PlanarConfiguration</i>=2). The data are assumed to be
uncompressed and in the native bit- and byte-order of the
host machine. The data written to the file is compressed
according to the compression scheme of the current
<small>TIFF</small> directory (see further below). If the
current scanline is past the end of the current subfile, the
<i>ImageLength</i> field is automatically increased to
include the scanline (except for
<i>PlanarConfiguration</i>=2, where the <i>ImageLength</i>
cannot be changed once the first data are written). If the
<i>ImageLength</i> is increased, the <i>StripOffsets</i> and
<i>StripByteCounts</i> fields are similarly enlarged to
reflect data written past the previous end of image.</p>

<h2>NOTES
<a name="NOTES"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">The library
writes encoded data using the native machine byte order.
Correctly implemented <small>TIFF</small> readers are
expected to do any necessary byte-swapping to correctly
process image data with BitsPerSample greater than 8. The
library attempts to hide bit-ordering differences between
the image and the native machine by converting data from the
native machine order.</p>

<p style="margin-left:11%; margin-top: 1em">In C++ the
<i>sample</i> parameter defaults to 0.</p>

<p style="margin-left:11%; margin-top: 1em">Once data are
written to a file for the current directory, the values of
certain tags may not be altered; see
<i>TIFFSetField</i>(3TIFF) for more information.</p>

<p style="margin-left:11%; margin-top: 1em">It is not
possible to write scanlines to a file that uses a tiled
organization. The routine <i>TIFFIsTiled</i> can be used to
determine if the file is organized as tiles or strips.</p>

<h2>RETURN VALUES
<a name="RETURN VALUES"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><i>TIFFWriteScanline</i>
returns &minus;1 if it immediately detects an error and 1
for a successful write.</p>

<h2>DIAGNOSTICS
<a name="DIAGNOSTICS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">All error
messages are directed to the <i>TIFFError</i>(3TIFF)
routine.</p>

<p style="margin-left:11%; margin-top: 1em"><b>%s: File not
open for writing .</b> The file was opened for reading, not
writing.</p>

<p style="margin-left:11%; margin-top: 1em"><b>Can not
write scanlines to a tiled image</b>. An attempt was made to
write a scanline to a tiled image. The image is assumed to
be organized in tiles because the <i>TileWidth</i> and
<i>TileLength</i> tags have been set with
<i>TIFFSetField</i>(3TIFF).</p>

<p style="margin-left:11%; margin-top: 1em"><b>Compression
algorithm does not support random access</b>. Data was
written in a non-sequential order to a file that uses a
compression algorithm and that has <i>RowsPerStrip</i>
greater than one. That is, data in the image is to be stored
in a compressed form, and with multiple rows packed into a
strip. In this case, the library does not support random
access to the data. The data should either be written as
entire strips, sequentially by rows, or the value of
<i>RowsPerStrip</i> should be set to one.</p>

<p style="margin-left:11%; margin-top: 1em"><b>%s: Must set
&quot;ImageWidth&quot; before writing data</b>. The
image&rsquo;s width has not be set before the first write.
See <b>TIFFSetField</b>(3TIFF) for information on how to do
this.</p>

<p style="margin-left:11%; margin-top: 1em"><b>%s: Must set
&quot;PlanarConfiguration&quot; before writing data</b>. The
organization of data has not be defined before the first
write. See <b>TIFFSetField</b>(3TIFF) for information on how
to do this.</p>

<p style="margin-left:11%; margin-top: 1em"><b>Can not
change &quot;ImageLength&quot; when using separate
planes</b>. Separate image planes are being used
(<i>PlanarConfiguration</i>=2), but the number of rows has
not been specified before the first write. The library
supports the dynamic growth of an image only when data are
organized in a contiguous manner
(<i>PlanarConfiguration</i>=1).</p>

<p style="margin-left:11%; margin-top: 1em"><b>%d: Sample
out of range, max %d</b>. The <i>sample</i> parameter was
greater than the value of the SamplesPerPixel tag.</p>

<p style="margin-left:11%; margin-top: 1em"><b>%s: No space
for strip arrays .</b> There was not enough space for the
arrays that hold strip offsets and byte counts.</p>

<h2>BUGS
<a name="BUGS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">Writing
subsampled YCbCR data does not work correctly because, for
<i>PlanarConfiguration</i>=2 the size of a scanline is not
calculated on a per-sample basis, and for
<i>PlanarConfiguration</i>=1 the library does not pack the
block-interleaved samples.</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF),
<b>TIFFWriteEncodedStrip</b>(3TIFF),
<b>TIFFWriteRawStrip</b>(3TIFF), <b>libtiff</b>(3TIFF)</p>

<p style="margin-left:11%; margin-top: 1em">Libtiff library
home page: <b>http://www.simplesystems.org/libtiff/</b></p>
<hr>
</body>
</html>

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
23 Jul 2026 4.57 AM
root / root
0755
CMakeLists.txt
3.354 KB
19 Feb 2022 3.33 PM
root / root
0644
HtmlDoc.cmake
2.097 KB
19 Feb 2022 3.33 PM
root / root
0644
TIFFClose.3tiff.html
2.148 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFDataWidth.3tiff.html
2.215 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFDeferStrileArrayWriting.3tiff.html
3.928 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFError.3tiff.html
3.102 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFieldDataType.3tiff.html
2.133 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFieldName.3tiff.html
2.079 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFieldPassCount.3tiff.html
2.557 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFieldReadCount.3tiff.html
2.76 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFieldTag.3tiff.html
2.2 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFieldWriteCount.3tiff.html
3.076 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFFlush.3tiff.html
2.833 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFGetField.3tiff.html
32.861 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFOpen.3tiff.html
14.426 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFOpenOptions.3tiff.html
6.887 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFPrintDirectory.3tiff.html
4.158 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFRGBAImage.3tiff.html
11.356 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadDirectory.3tiff.html
7.38 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadEncodedStrip.3tiff.html
3.492 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadEncodedTile.3tiff.html
3.434 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadRGBAImage.3tiff.html
8.416 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadRGBAStrip.3tiff.html
7.088 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadRGBATile.3tiff.html
7.859 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadRawStrip.3tiff.html
2.795 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadRawTile.3tiff.html
2.882 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadScanline.3tiff.html
4.395 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFReadTile.3tiff.html
3.561 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFSetDirectory.3tiff.html
3.349 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFSetField.3tiff.html
30.458 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFStrileQuery.3tiff.html
4.842 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWarning.3tiff.html
3.063 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteDirectory.3tiff.html
6.126 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteEncodedStrip.3tiff.html
4.32 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteEncodedTile.3tiff.html
4.116 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteRawStrip.3tiff.html
3.905 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteRawTile.3tiff.html
3.545 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteScanline.3tiff.html
6.659 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFWriteTile.3tiff.html
3.096 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFbuffer.3tiff.html
3.582 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFcodec.3tiff.html
3.389 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFcolor.3tiff.html
18.525 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFmemory.3tiff.html
3.229 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFquery.3tiff.html
4.979 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFsize.3tiff.html
2.411 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFstrip.3tiff.html
4.082 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFswab.3tiff.html
3.163 KB
21 Jul 2026 3.53 PM
root / root
0644
TIFFtile.3tiff.html
4.753 KB
21 Jul 2026 3.53 PM
root / root
0644
fax2ps.1.html
6.312 KB
21 Jul 2026 3.53 PM
root / root
0644
fax2tiff.1.html
15.335 KB
21 Jul 2026 3.53 PM
root / root
0644
index.html
3.736 KB
19 Feb 2022 3.33 PM
root / root
0644
libtiff.3tiff.html
54.342 KB
21 Jul 2026 3.53 PM
root / root
0644
pal2rgb.1.html
4.416 KB
21 Jul 2026 3.53 PM
root / root
0644
ppm2tiff.1.html
3.746 KB
21 Jul 2026 3.53 PM
root / root
0644
raw2tiff.1.html
11.087 KB
21 Jul 2026 3.53 PM
root / root
0644
tiff2bw.1.html
3.745 KB
21 Jul 2026 3.53 PM
root / root
0644
tiff2pdf.1.html
11.295 KB
21 Jul 2026 3.53 PM
root / root
0644
tiff2ps.1.html
13.174 KB
21 Jul 2026 3.53 PM
root / root
0644
tiff2rgba.1.html
4.512 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffcmp.1.html
3.675 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffcp.1.html
13.912 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffcrop.1.html
29.56 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffdither.1.html
5.199 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffdump.1.html
3.471 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffinfo.1.html
4.088 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffmedian.1.html
4.56 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffset.1.html
3.545 KB
21 Jul 2026 3.53 PM
root / root
0644
tiffsplit.1.html
3.052 KB
21 Jul 2026 3.53 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF