✘✘ 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//TIFFReadRGBAImage.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>TIFFReadRGBAImage</title>

</head>
<body>

<h1 align="center">TIFFReadRGBAImage</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="#SEE ALSO">SEE ALSO</a><br>

<hr>


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



<p style="margin-left:11%; margin-top: 1em">TIFFReadRGBAImage,
TIFFReadRGBAImageOriented &minus; read and decode an image
into a fixed-format raster</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>#define
TIFFGetR(abgr) ((abgr) &amp; 0xff) <br>
#define TIFFGetG(abgr) (((abgr) &gt;&gt; 8) &amp; 0xff) <br>
#define TIFFGetB(abgr) (((abgr) &gt;&gt; 16) &amp; 0xff)
<br>
#define TIFFGetA(abgr) (((abgr) &gt;&gt; 24) &amp;
0xff)</b></p>

<p style="margin-left:11%; margin-top: 1em"><b>int
TIFFReadRGBAImage(TIFF *</b><i>tif</i><b>, uint32_t</b>
<i>width</i><b>, uint32_t</b> <i>height</i><b>, uint32_t
*</b><i>raster</i><b>, int</b> <i>stopOnError</i><b>) <br>
int TIFFReadRGBAImageOriented(TIFF *</b><i>tif</i><b>,
uint32_t</b> <i>width</i><b>, uint32_t</b> <i>height</i><b>,
uint32_t *</b><i>raster</i><b>, int</b>
<i>orientation</i><b>, int</b>
<i>stopOnError</i><b>)</b></p>

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



<p style="margin-left:11%; margin-top: 1em"><b><i>TIFFReadRGBAImage</i></b>
reads a strip- or tile-based image into memory, storing the
result in the user supplied <i>raster</i>. The raster is
assumed to be an array of <i>width</i> times <i>height</i>
32-bit entries, where <i>width</i> must be less than or
equal to the width of the image (<i>height</i> may be any
non-zero size). If the raster dimensions are smaller than
the image, the image data is cropped to the raster bounds.
If the raster height is greater than that of the image, then
the image data are placed in the lower part of the raster.
(Note that the raster is assume to be organized such that
the pixel at location (<i>x</i>,<i>y</i>) is
<i>raster</i>[<i>y</i>*<i>width</i>+<i>x</i>]; with the
raster origin in the lower-left hand corner.)</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFReadRGBAImageOriented</i>
works like <i>TIFFReadRGBAImage</i> with except of that user
can specify the raster origin position with the
<i>orientation</i> parameter. Four orientations supported:
<b><br>
ORIENTATION_TOPLEFT</b></p>

<p style="margin-left:22%;">origin in top-left corner,</p>


<p style="margin-left:11%;"><b>ORIENTATION_TOPRIGHT</b></p>

<p style="margin-left:22%;">origin in top-right corner,</p>

<p style="margin-left:11%;"><b>ORIENTATION_BOTLEFT</b></p>

<p style="margin-left:22%;">origin in bottom-left corner
and</p>


<p style="margin-left:11%;"><b>ORIENTATION_BOTRIGHT</b></p>

<p style="margin-left:22%;">origin in bottom-right
corner.</p>

<p style="margin-left:11%; margin-top: 1em">If you choose
<b>ORIENTATION_BOTLEFT</b> result will be the same as
returned by the <i>TIFFReadRGBAImage.</i></p>

<p style="margin-left:11%; margin-top: 1em">Raster pixels
are 8-bit packed red, green, blue, alpha samples. The macros
<i>TIFFGetR</i>, <i>TIFFGetG</i>, <i>TIFFGetB</i>, and
<i>TIFFGetA</i> should be used to access individual samples.
Images without Associated Alpha matting information have a
constant Alpha of 1.0 (255).</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFReadRGBAImage</i>
converts non-8-bit images by scaling sample values. Palette,
grayscale, bilevel, <small>CMYK, and YCbCr images are
converted to RGB</small> transparently. Raster pixels are
returned uncorrected by any colorimetry information present
in the directory.</p>

<p style="margin-left:11%; margin-top: 1em">The parameter
<i>stopOnError</i> specifies how to act if an error is
encountered while reading the image. If <i>stopOnError</i>
is non-zero, then an error will terminate the operation;
otherwise <i>TIFFReadRGBAImage</i> will continue processing
data until all the possible data in the image have been
requested.</p>

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


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

<p style="margin-left:11%; margin-top: 1em">Samples must be
either 1, 2, 4, 8, or 16 bits. Colorimetric samples/pixel
must be either 1, 3, or 4 (i.e. <i>SamplesPerPixel</i> minus
<i>ExtraSamples</i>).</p>

<p style="margin-left:11%; margin-top: 1em">Palettte image
colormaps that appear to be incorrectly written as 8-bit
values are automatically scaled to 16-bits.</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFReadRGBAImage</i>
is just a wrapper around the more general
<i>TIFFRGBAImage</i>(3TIFF) facilities.</p>

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


<p style="margin-left:11%; margin-top: 1em">1 is returned
if the image was successfully read and converted. Otherwise,
0 is returned if an error was encountered and
<i>stopOnError</i> is zero.</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>Sorry, can
not handle %d-bit pictures</b>. The image had
<i>BitsPerSample</i> other than 1, 2, 4, 8, or 16.</p>

<p style="margin-left:11%; margin-top: 1em"><b>Sorry, can
not handle %d-channel images</b>. The image had
<i>SamplesPerPixel</i> other than 1, 3, or 4.</p>

<p style="margin-left:11%; margin-top: 1em"><b>Missing
needed &quot;PhotometricInterpretation&quot; tag</b>. The
image did not have a tag that describes how to display the
data.</p>

<p style="margin-left:11%; margin-top: 1em"><b>No
&quot;PhotometricInterpretation&quot; tag, assuming RGB</b>.
The image was missing a tag that describes how to display
it, but because it has 3 or 4 samples/pixel, it is assumed
to be <small>RGB.</small></p>

<p style="margin-left:11%; margin-top: 1em"><b>No
&quot;PhotometricInterpretation&quot; tag, assuming
min-is-black</b>. The image was missing a tag that describes
how to display it, but because it has 1 sample/pixel, it is
assumed to be a grayscale or bilevel image.</p>

<p style="margin-left:11%; margin-top: 1em"><b>No space for
photometric conversion table</b>. There was insufficient
memory for a table used to convert image samples to 8-bit
<small>RGB.</small></p>

<p style="margin-left:11%; margin-top: 1em"><b>Missing
required &quot;Colormap&quot; tag</b>. A Palette image did
not have a required <i>Colormap</i> tag.</p>

<p style="margin-left:11%; margin-top: 1em"><b>No space for
tile buffer</b>. There was insufficient memory to allocate
an i/o buffer.</p>

<p style="margin-left:11%; margin-top: 1em"><b>No space for
strip buffer</b>. There was insufficient memory to allocate
an i/o buffer.</p>

<p style="margin-left:11%; margin-top: 1em"><b>Can not
handle format</b>. The image has a format (combination of
<i>BitsPerSample</i>, <i>SamplesPerPixel</i>, and
<i>PhotometricInterpretation</i>) that
<i>TIFFReadRGBAImage</i> can not handle.</p>

<p style="margin-left:11%; margin-top: 1em"><b>No space for
B&amp;W mapping table</b>. There was insufficient memory to
allocate a table used to map grayscale data to
<small>RGB.</small></p>

<p style="margin-left:11%; margin-top: 1em"><b>No space for
Palette mapping table</b>. There was insufficient memory to
allocate a table used to map data to 8-bit
<small>RGB.</small></p>

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



<p style="margin-left:11%; margin-top: 1em"><b>TIFFOpen</b>(3TIFF),
<b>TIFFRGBAImage</b>(3TIFF),
<b>TIFFReadRGBAStrip</b>(3TIFF),
<b>TIFFReadRGBATile</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