PATH:
usr
/
share
/
doc
/
libtiff-devel-4.0.3
/
html
/
man
<!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Sat Feb 24 18:37:18 2007 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>SWAB</title> </head> <body> <h1 align=center>SWAB</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</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>TIFFGetBitRevTable, TIFFReverseBits, TIFFSwabShort, TIFFSwabLong, TIFFSwabArrayOfShort, TIFFSwabArrayOfLong − byte- and bit-swapping routines</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>const unsigned char* TIFFGetBitRevTable(int</b> <i>reversed</i><b>)<br> void TIFFReverseBits(u_char *</b><i>data</i><b>, unsigned long</b> <i>nbytes</i><b>)<br> void TIFFSwabShort(uint16 *</b><i>data</i><b>)<br> void TIFFSwabLong(uint32 *</b><i>data</i><b>)<br> void TIFFSwabArrayOfShort(uint16 *</b><i>data</i><b>, unsigned long</b> <i>nshorts</i><b>)<br> void TIFFSwabArrayOfLong(uint32 *</b><i>data</i><b>, unsigned long</b> <i>nlongs</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>The following routines are used by the library to swap 16- and 32-bit data and to reverse the order of bits in bytes.</p> <!-- INDENTATION --> <p><i>TIFFSwabShort</i> and <i>TIFFSwabLong</i> swap the bytes in a single 16-bit and 32-bit item, respectively. <i>TIFFSwabArrayOfShort</i> and <i>TIFFSwabArrayOfLong</i> swap the bytes in an array of 16-bit and 32-bit items, respectively.</p> <!-- INDENTATION --> <p><i>TIFFReverseBits</i> replaces each byte in <i>data</i> with the equivalent bit-reversed value. This operation is performed with a lookup table, which is returned using the <i>TIFFGetBitRevTable</i> function. <i>reversed</i> parameter specifies which table should be returned. Supply <i>1</i> if you want bit reversal table. Supply <i>0</i> to get the table that do not reverse bit values. It is a lookup table that can be used as an <i>identity function</i>; i.e. <i>TIFFNoBitRevTable[n] == n</i>.</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>None.</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><b>libtiff</b>(3TIFF)</p> <!-- INDENTATION --> <p>Libtiff library home page: <b>http://www.remotesensing.org/libtiff/</b></p> </td> </table> <hr> </body> </html>
[-] raw2tiff.1.html
[edit]
[-] tiff2pdf.1.html
[edit]
[-] tiffset.1.html
[edit]
[-] TIFFWriteEncodedStrip.3tiff.html
[edit]
[-] TIFFFlush.3tiff.html
[edit]
[-] TIFFPrintDirectory.3tiff.html
[edit]
[-] TIFFReadRGBAStrip.3tiff.html
[edit]
[-] TIFFFieldReadCount.3tiff.html
[edit]
[-] TIFFReadTile.3tiff.html
[edit]
[-] tiffinfo.1.html
[edit]
[-] tiffcmp.1.html
[edit]
[-] tiffdither.1.html
[edit]
[-] thumbnail.1.html
[edit]
[-] ras2tiff.1.html
[edit]
[-] TIFFOpen.3tiff.html
[edit]
[+]
..
[-] pal2rgb.1.html
[edit]
[-] libtiff.3tiff.html
[edit]
[-] TIFFGetField.3tiff.html
[edit]
[-] TIFFFieldDataType.3tiff.html
[edit]
[-] ppm2tiff.1.html
[edit]
[-] fax2tiff.1.html
[edit]
[-] tiffmedian.1.html
[edit]
[-] TIFFWriteTile.3tiff.html
[edit]
[-] tiffcp.1.html
[edit]
[-] TIFFWriteScanline.3tiff.html
[edit]
[-] tiffsplit.1.html
[edit]
[-] TIFFcolor.3tiff.html
[edit]
[-] gif2tiff.1.html
[edit]
[-] TIFFReadRawStrip.3tiff.html
[edit]
[-] index.html
[edit]
[-] TIFFSetField.3tiff.html
[edit]
[-] TIFFDataWidth.3tiff.html
[edit]
[-] TIFFtile.3tiff.html
[edit]
[-] TIFFquery.3tiff.html
[edit]
[-] TIFFbuffer.3tiff.html
[edit]
[-] TIFFFieldPassCount.3tiff.html
[edit]
[-] TIFFFieldTag.3tiff.html
[edit]
[-] TIFFReadEncodedStrip.3tiff.html
[edit]
[-] TIFFReadEncodedTile.3tiff.html
[edit]
[-] TIFFSetDirectory.3tiff.html
[edit]
[-] fax2ps.1.html
[edit]
[-] TIFFRGBAImage.3tiff.html
[edit]
[-] rgb2ycbcr.1.html
[edit]
[-] TIFFWriteEncodedTile.3tiff.html
[edit]
[-] TIFFcodec.3tiff.html
[edit]
[-] tiffcrop.1.html
[edit]
[-] TIFFmemory.3tiff.html
[edit]
[-] TIFFFieldWriteCount.3tiff.html
[edit]
[-] TIFFError.3tiff.html
[edit]
[-] bmp2tiff.1.html
[edit]
[-] TIFFReadRGBATile.3tiff.html
[edit]
[-] TIFFReadScanline.3tiff.html
[edit]
[-] tiff2bw.1.html
[edit]
[-] TIFFsize.3tiff.html
[edit]
[-] TIFFstrip.3tiff.html
[edit]
[-] tiff2ps.1.html
[edit]
[-] TIFFswab.3tiff.html
[edit]
[-] TIFFReadRGBAImage.3tiff.html
[edit]
[-] TIFFWriteRawStrip.3tiff.html
[edit]
[-] TIFFWriteRawTile.3tiff.html
[edit]
[-] TIFFWarning.3tiff.html
[edit]
[-] tiffdump.1.html
[edit]
[-] TIFFFieldName.3tiff.html
[edit]
[-] TIFFReadDirectory.3tiff.html
[edit]
[-] tiff2rgba.1.html
[edit]
[-] TIFFClose.3tiff.html
[edit]
[-] TIFFWriteDirectory.3tiff.html
[edit]
[-] TIFFReadRawTile.3tiff.html
[edit]