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

</head>
<body>

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

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#EXAMPLE">EXAMPLE</a><br>
<a href="#NOTE">NOTE</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<a href="#AUTHOR">AUTHOR</a><br>
<a href="#COPYRIGHT">COPYRIGHT</a><br>

<hr>


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



<p style="margin-left:11%; margin-top: 1em">TIFFOpenOptions
&minus; open a TIFF file for reading or writing</p>

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


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


<p style="margin-left:11%;"><b>typedef</b>
<i>TIFFOpenOptions</i> <b>TIFFOpenOptions</b> <i><br>
TIFFOpenOptions</i> <b>*TIFFOpenOptionsAlloc(void) <br>
void TIFFOpenOptionsFree(</b><i>TIFFOpenOptions</i><b>*)
<br>
void
TIFFOpenOptionsSetMaxSingleMemAlloc(</b><i>TIFFOpenOptions</i>
<b>*opts, <br>
tmsize_t max_single_mem_alloc) <br>
void
TIFFOpenOptionsSetMaxCumulatedMemAlloc(</b><i>TIFFOpenOptions</i>
<b>*opts, <br>
tmsize_t max_cumulated_mem_alloc) <br>
void
TIFFOpenOptionsSetErrorHandlerExtR(</b><i>TIFFOpenOptions</i>
<b>*opts, -</b> <i><br>
TIFFErrorHandlerExtR</i> <b>handler, void
*errorhandler_user_data) <br>
void
TIFFOpenOptionsSetWarningHandlerExtR(</b><i>TIFFOpenOptions</i>
<b>*opts, -</b> <i><br>
TIFFErrorHandlerExtR</i> <b>handler, void
*warnhandler_user_data) <br>
void
TIFFOpenOptionsSetWarnAboutUnknownTags(</b><i>TIFFOpenOptions</i>
<b>*opts, int <br>
warn_about_unknown_tags)</b></p>

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



<p style="margin-left:11%; margin-top: 1em"><b><i>TIFFOpenOptions</i></b>
is an opaque structure which can be passed to the TIFF
open&quot;Ext&quot; functions to define some <b>libtiff</b>
internal settings. The settings are the maximum single
memory allocation limit and per&minus;TIFF handle
(re&minus;entrant) error handler and warning handler
functions. For those handler a pointer to a <b>custom
defined data structure</b> <i>user_data</i> can be given
along.</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsAlloc()</i>
allocates memory for the <i>TIFFOpenOptions</i> opaque
structure and returns a <i>TIFFOpenOptions</i> pointer.</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsFree()</i>
releases the allocated memory for <i>TIFFOpenOptions</i>.
The allocated memory for <i>TIFFOpenOptions</i> can be
released straight after successful execution of the related
TIFFOpen&quot;Ext&quot; functions like
<i>TIFFOpenExt()</i>.</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsSetMaxSingleMemAlloc()</i>
(added in libtiff 4.5.0) sets the value for the maximum
single memory limit in byte that <b>libtiff</b> internal
memory allocation functions are allowed to request per
call.</p>


<p style="margin-left:11%; margin-top: 1em"><b>NOTE:</b></p>

<p style="margin-left:15%;">However, the <b>libtiff</b>
external functions <i>_TIFFmalloc()</i> and -
<i>_TIFFrealloc()</i> <b>do not apply</b> this internal
memory allocation limit set by
<i>TIFFOpenOptionsSetMaxSingleMemAlloc()</i>!</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsSetMaxCumulatedMemAlloc()</i>
(added in libtiff 4.6.1) sets the maximum cumulated memory
allocations in byte, for a given TIFF handle, that
<b>libtiff</b> internal memory allocation functions are
allowed.</p>


<p style="margin-left:11%; margin-top: 1em"><b>NOTE:</b></p>

<p style="margin-left:15%;">However, the <b>libtiff</b>
external functions <i>_TIFFmalloc()</i> and -
<i>_TIFFrealloc()</i> <b>do not apply</b> this internal
memory allocation limit set by
<i>TIFFOpenOptionsSetMaxCumulatedMemAlloc()</i>!</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsSetErrorHandlerExtR()</i>
sets the function pointer to an application&minus;specific
and per&minus;TIFF handle (re&minus;entrant) error handler.
Furthermore, a pointer to a <b>custom defined data
structure</b> <i>errorhandler_user_data</i> can be passed.
This error handler is invoked through <i>TIFFErrorExtR()</i>
and the <i>errorhandler_user_data</i> pointer is given
along. The <i>errorhandler_user_data</i> argument may be
NULL.</p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsSetWarningHandlerExtR()</i>
works like <i>TIFFOpenOptionsSetErrorHandlerExtR()</i> but
for the warning handler, which is invoked through
<i>TIFFWarningExtR()</i></p>


<p style="margin-left:11%; margin-top: 1em"><i>TIFFOpenOptionsSetWarnAboutUnknownTags()</i>
sets whether libtiff should emit a warning when encountering
a unknown tag. This function has been added in libtiff 4.7.1
and the default value is FALSE (change of behaviour compared
to earlier versions).</p>

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

<pre style="margin-left:15%; margin-top: 1em">#include &quot;tiffio.h&quot;

typedef struct MyErrorHandlerUserDataStruct
{
    /* ... any user data structure ... */
} MyErrorHandlerUserDataStruct;

static int myErrorHandler(TIFF *tiff, void *user_data, const char *module,
                      const char *fmt, va_list ap)
{
    MyErrorHandlerUserDataStruct *errorhandler_user_data =
        (MyErrorHandlerUserDataStruct *)user_data;
    /*... code of myErrorHandler ...*/
    return 1;
}


main()
{
    tmsize_t limit = (256 * 1024 * 1024);
    MyErrorHandlerUserDataStruct user_data = { /* ... any data ... */};

    TIFFOpenOptions *opts = TIFFOpenOptionsAlloc();
    TIFFOpenOptionsSetMaxSingleMemAlloc(opts, limit);
    TIFFOpenOptionsSetErrorHandlerExtR(opts, myErrorHandler, &amp;user_data);
    TIFF *tif = TIFFOpenExt(&quot;foo.tif&quot;, &quot;r&quot;, opts);
    TIFFOpenOptionsFree(opts);
    /* ... go on here ... */

    TIFFClose(tif);
}</pre>

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


<p style="margin-left:11%; margin-top: 1em">This
functionality was introduced with libtiff 4.5.</p>

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


<p style="margin-left:11%; margin-top: 1em"><i>libtiff</i>
(3tiff), <i>TIFFOpen</i> (3tiff), <i>TIFFError</i> (3tiff),
<i>TIFFWarning</i> (3tiff)</p>

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


<p style="margin-left:11%; margin-top: 1em">LibTIFF
contributors</p>

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


<p style="margin-left:11%; margin-top: 1em">1988-2025,
LibTIFF contributors</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