| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Macros | Typedefs | Functions
tiffio.h File Reference
`#include "tiff.h"`
`#include "tiffvers.h"`
`#include <stdio.h>`
`#include <stdarg.h>`

Go to the source code of this file.

## Classes
struct | TIFFDisplay
struct | TIFFYCbCrToRGB
struct | TIFFCIELabToRGB
struct | _TIFFRGBAImage
struct | TIFFCodec
struct | TIFFFieldInfo
struct | _TIFFTagValue
struct | TIFFTagMethods

## Macros
#define | TIFFPRINT_NONE 0x0 /* no extra info */
#define | TIFFPRINT_STRIPS 0x1 /* strips/tiles info */
#define | TIFFPRINT_CURVES 0x2 /* color/gray response curves */
#define | TIFFPRINT_COLORMAP 0x4 /* colormap */
#define | TIFFPRINT_JPEGQTABLES 0x100 /* JPEG Q matrices */
#define | TIFFPRINT_JPEGACTABLES 0x200 /* JPEG AC tables */
#define | TIFFPRINT_JPEGDCTABLES 0x200 /* JPEG DC tables */
#define | D65_X0 (95.0470F)
#define | D65_Y0 (100.0F)
#define | D65_Z0 (108.8827F)
#define | D50_X0 (96.4250F)
#define | D50_Y0 (100.0F)
#define | D50_Z0 (82.4680F)
#define | CIELABTORGB_TABLE_RANGE 1500
#define | TIFFGetR(abgr) ((abgr) & 0xff)
#define | TIFFGetG(abgr) (((abgr) >> 8) & 0xff)
#define | TIFFGetB(abgr) (((abgr) >> 16) & 0xff)
#define | TIFFGetA(abgr) (((abgr) >> 24) & 0xff)
#define | LOGLUV_PUBLIC 1
#define | __attribute__(x) /*nothing*/
#define | TIFF_ANY TIFF_NOTYPE /* for field descriptor searching */
#define | TIFF_VARIABLE -1 /* marker for variable length tags */
#define | TIFF_SPP -2 /* marker for SamplesPerPixel tags */
#define | TIFF_VARIABLE2 -3 /* marker for uint32 var-length tags */
#define | FIELD_CUSTOM 65
#define | U_NEU 0.210526316
#define | V_NEU 0.473684211
#define | UVSCALE 410.

## Typedefs
typedef struct tiff | TIFF
typedef uint32 | ttag_t
typedef uint16 | tdir_t
typedef uint16 | tsample_t
typedef uint32 | tstrile_t
typedef tstrile_t | tstrip_t
typedef tstrile_t | ttile_t
typedef int32 | tsize_t
typedef void * | tdata_t
typedef uint32 | toff_t
typedef void * | thandle_t
typedef unsigned char | TIFFRGBValue
typedef struct _TIFFRGBAImage | TIFFRGBAImage
typedef void(* | tileContigRoutine) (TIFFRGBAImage *, uint32 *, uint32, uint32, uint32, uint32, int32, int32, unsigned char *)
typedef void(* | tileSeparateRoutine) (TIFFRGBAImage *, uint32 *, uint32, uint32, uint32, uint32, int32, int32, unsigned char *, unsigned char *, unsigned char *, unsigned char *)
typedef int(* | TIFFInitMethod) (TIFF *, int)
typedef void(* | TIFFErrorHandler) (const char *, const char *, va_list)
typedef void(* | TIFFErrorHandlerExt) (thandle_t, const char *, const char *, va_list)
typedef tsize_t(* | TIFFReadWriteProc) (thandle_t, tdata_t, tsize_t)
typedef toff_t(* | TIFFSeekProc) (thandle_t, toff_t, int)
typedef int(* | TIFFCloseProc) (thandle_t)
typedef toff_t(* | TIFFSizeProc) (thandle_t)
typedef int(* | TIFFMapFileProc) (thandle_t, tdata_t *, toff_t *)
typedef void(* | TIFFUnmapFileProc) (thandle_t, tdata_t, toff_t)
typedef void(* | TIFFExtendProc) (TIFF *)
typedef struct _TIFFTagValue | TIFFTagValue
typedef int(* | TIFFVSetMethod) (TIFF *, ttag_t, va_list)
typedef int(* | TIFFVGetMethod) (TIFF *, ttag_t, va_list)
typedef void(* | TIFFPrintMethod) (TIFF *, FILE *, long)

## Functions
const char * | TIFFGetVersion (void)
const TIFFCodec * | TIFFFindCODEC (uint16)
TIFFCodec * | TIFFRegisterCODEC (uint16, const char *, TIFFInitMethod)
void | TIFFUnRegisterCODEC (TIFFCodec *)
int | TIFFIsCODECConfigured (uint16)
TIFFCodec * | TIFFGetConfiguredCODECs (void)
tdata_t | _TIFFmalloc (tsize_t)
tdata_t | _TIFFrealloc (tdata_t, tsize_t)
void | _TIFFmemset (tdata_t, int, tsize_t)
void | _TIFFmemcpy (tdata_t, const tdata_t, tsize_t)
int | _TIFFmemcmp (const tdata_t, const tdata_t, tsize_t)
void | _TIFFfree (tdata_t)
int | TIFFGetTagListCount (TIFF *)
ttag_t | TIFFGetTagListEntry (TIFF *, int tag_index)
void | TIFFMergeFieldInfo (TIFF *, const TIFFFieldInfo[], int)
const TIFFFieldInfo * | TIFFFindFieldInfo (TIFF *, ttag_t, TIFFDataType)
const TIFFFieldInfo * | TIFFFindFieldInfoByName (TIFF *, const char *, TIFFDataType)
const TIFFFieldInfo * | TIFFFieldWithTag (TIFF *, ttag_t)
const TIFFFieldInfo * | TIFFFieldWithName (TIFF *, const char *)
TIFFTagMethods * | TIFFAccessTagMethods (TIFF *)
void * | TIFFGetClientInfo (TIFF *, const char *)
void | TIFFSetClientInfo (TIFF *, void *, const char *)
void | TIFFCleanup (TIFF *)
void | TIFFClose (TIFF *)
int | TIFFFlush (TIFF *)
int | TIFFFlushData (TIFF *)
int | TIFFGetField (TIFF *, ttag_t,...)
int | TIFFVGetField (TIFF *, ttag_t, va_list)
int | TIFFGetFieldDefaulted (TIFF *, ttag_t,...)
int | TIFFVGetFieldDefaulted (TIFF *, ttag_t, va_list)
int | TIFFReadDirectory (TIFF *)
int | TIFFReadCustomDirectory (TIFF *, toff_t, const TIFFFieldInfo[], size_t)
int | TIFFReadEXIFDirectory (TIFF *, toff_t)
tsize_t | TIFFScanlineSize (TIFF *)
tsize_t | TIFFOldScanlineSize (TIFF *)
tsize_t | TIFFNewScanlineSize (TIFF *)
tsize_t | TIFFRasterScanlineSize (TIFF *)
tsize_t | TIFFStripSize (TIFF *)
tsize_t | TIFFRawStripSize (TIFF *, tstrip_t)
tsize_t | TIFFVStripSize (TIFF *, uint32)
tsize_t | TIFFTileRowSize (TIFF *)
tsize_t | TIFFTileSize (TIFF *)
tsize_t | TIFFVTileSize (TIFF *, uint32)
uint32 | TIFFDefaultStripSize (TIFF *, uint32)
void | TIFFDefaultTileSize (TIFF *, uint32 *, uint32 *)
int | TIFFFileno (TIFF *)
int | TIFFSetFileno (TIFF *, int)
thandle_t | TIFFClientdata (TIFF *)
thandle_t | TIFFSetClientdata (TIFF *, thandle_t)
int | TIFFGetMode (TIFF *)
int | TIFFSetMode (TIFF *, int)
int | TIFFIsTiled (TIFF *)
int | TIFFIsByteSwapped (TIFF *)
int | TIFFIsUpSampled (TIFF *)
int | TIFFIsMSB2LSB (TIFF *)
int | TIFFIsBigEndian (TIFF *)
TIFFReadWriteProc | TIFFGetReadProc (TIFF *)
TIFFReadWriteProc | TIFFGetWriteProc (TIFF *)
TIFFSeekProc | TIFFGetSeekProc (TIFF *)
TIFFCloseProc | TIFFGetCloseProc (TIFF *)
TIFFSizeProc | TIFFGetSizeProc (TIFF *)
TIFFMapFileProc | TIFFGetMapFileProc (TIFF *)
TIFFUnmapFileProc | TIFFGetUnmapFileProc (TIFF *)
uint32 | TIFFCurrentRow (TIFF *)
tdir_t | TIFFCurrentDirectory (TIFF *)
tdir_t | TIFFNumberOfDirectories (TIFF *)
uint32 | TIFFCurrentDirOffset (TIFF *)
tstrip_t | TIFFCurrentStrip (TIFF *)
ttile_t | TIFFCurrentTile (TIFF *)
int | TIFFReadBufferSetup (TIFF *, tdata_t, tsize_t)
int | TIFFWriteBufferSetup (TIFF *, tdata_t, tsize_t)
int | TIFFSetupStrips (TIFF *)
int | TIFFWriteCheck (TIFF *, int, const char *)
void | TIFFFreeDirectory (TIFF *)
int | TIFFCreateDirectory (TIFF *)
int | TIFFLastDirectory (TIFF *)
int | TIFFSetDirectory (TIFF *, tdir_t)
int | TIFFSetSubDirectory (TIFF *, uint32)
int | TIFFUnlinkDirectory (TIFF *, tdir_t)
int | TIFFSetField (TIFF *, ttag_t,...)
int | TIFFVSetField (TIFF *, ttag_t, va_list)
int | TIFFWriteDirectory (TIFF *)
int | TIFFCheckpointDirectory (TIFF *)
int | TIFFRewriteDirectory (TIFF *)
int | TIFFReassignTagToIgnore (enum TIFFIgnoreSense, int)
void | TIFFPrintDirectory (TIFF *, FILE *, long)
int | TIFFReadScanline (TIFF *, tdata_t, uint32, tsample_t)
int | TIFFWriteScanline (TIFF *, tdata_t, uint32, tsample_t)
int | TIFFReadRGBAImage (TIFF *, uint32, uint32, uint32 *, int)
int | TIFFReadRGBAImageOriented (TIFF *, uint32, uint32, uint32 *, int, int)
int | TIFFReadRGBAStrip (TIFF *, tstrip_t, uint32 *)
int | TIFFReadRGBATile (TIFF *, uint32, uint32, uint32 *)
int | TIFFRGBAImageOK (TIFF *, char[1024])
int | TIFFRGBAImageBegin (TIFFRGBAImage *, TIFF *, int, char[1024])
int | TIFFRGBAImageGet (TIFFRGBAImage *, uint32 *, uint32, uint32)
void | TIFFRGBAImageEnd (TIFFRGBAImage *)
TIFF * | TIFFOpen (const char *, const char *)
TIFF * | TIFFFdOpen (int, const char *, const char *)
TIFF * | TIFFClientOpen (const char *, const char *, thandle_t, TIFFReadWriteProc, TIFFReadWriteProc, TIFFSeekProc, TIFFCloseProc, TIFFSizeProc, TIFFMapFileProc, TIFFUnmapFileProc)
const char * | TIFFFileName (TIFF *)
const char * | TIFFSetFileName (TIFF *, const char *)
void | TIFFError (const char *, const char *,...) __attribute__((format(printf
void void | TIFFErrorExt (thandle_t, const char *, const char *,...) __attribute__((format(printf
void void void | TIFFWarning (const char *, const char *,...) __attribute__((format(printf
void void void void | TIFFWarningExt (thandle_t, const char *, const char *,...) __attribute__((format(printf
void void void void TIFFErrorHandler | TIFFSetErrorHandler (TIFFErrorHandler)
TIFFErrorHandlerExt | TIFFSetErrorHandlerExt (TIFFErrorHandlerExt)
TIFFErrorHandler | TIFFSetWarningHandler (TIFFErrorHandler)
TIFFErrorHandlerExt | TIFFSetWarningHandlerExt (TIFFErrorHandlerExt)
TIFFExtendProc | TIFFSetTagExtender (TIFFExtendProc)
ttile_t | TIFFComputeTile (TIFF *, uint32, uint32, uint32, tsample_t)
int | TIFFCheckTile (TIFF *, uint32, uint32, uint32, tsample_t)
ttile_t | TIFFNumberOfTiles (TIFF *)
tsize_t | TIFFReadTile (TIFF *, tdata_t, uint32, uint32, uint32, tsample_t)
tsize_t | TIFFWriteTile (TIFF *, tdata_t, uint32, uint32, uint32, tsample_t)
tstrip_t | TIFFComputeStrip (TIFF *, uint32, tsample_t)
tstrip_t | TIFFNumberOfStrips (TIFF *)
tsize_t | TIFFReadEncodedStrip (TIFF *, tstrip_t, tdata_t, tsize_t)
tsize_t | TIFFReadRawStrip (TIFF *, tstrip_t, tdata_t, tsize_t)
tsize_t | TIFFReadEncodedTile (TIFF *, ttile_t, tdata_t, tsize_t)
tsize_t | TIFFReadRawTile (TIFF *, ttile_t, tdata_t, tsize_t)
tsize_t | TIFFWriteEncodedStrip (TIFF *, tstrip_t, tdata_t, tsize_t)
tsize_t | TIFFWriteRawStrip (TIFF *, tstrip_t, tdata_t, tsize_t)
tsize_t | TIFFWriteEncodedTile (TIFF *, ttile_t, tdata_t, tsize_t)
tsize_t | TIFFWriteRawTile (TIFF *, ttile_t, tdata_t, tsize_t)
int | TIFFDataWidth (TIFFDataType)
void | TIFFSetWriteOffset (TIFF *, toff_t)
void | TIFFSwabShort (uint16 *)
void | TIFFSwabLong (uint32 *)
void | TIFFSwabDouble (double *)
void | TIFFSwabArrayOfShort (uint16 *, unsigned long)
void | TIFFSwabArrayOfTriples (uint8 *, unsigned long)
void | TIFFSwabArrayOfLong (uint32 *, unsigned long)
void | TIFFSwabArrayOfDouble (double *, unsigned long)
void | TIFFReverseBits (unsigned char *, unsigned long)
const unsigned char * | TIFFGetBitRevTable (int)
double | LogL16toY (int)
double | LogL10toY (int)
void | XYZtoRGB24 (float *, uint8 *)
int | uv_decode (double *, double *, int)
void | LogLuv24toXYZ (uint32, float *)
void | LogLuv32toXYZ (uint32, float *)
int | LogL16fromY (double, int)
int | LogL10fromY (double, int)
int | uv_encode (double, double, int)
uint32 | LogLuv24fromXYZ (float *, int)
uint32 | LogLuv32fromXYZ (float *, int)
int | TIFFCIELabToRGBInit (TIFFCIELabToRGB *, TIFFDisplay *, float *)
void | TIFFCIELabToXYZ (TIFFCIELabToRGB *, uint32, int32, int32, float *, float *, float *)
void | TIFFXYZToRGB (TIFFCIELabToRGB *, float, float, float, uint32 *, uint32 *, uint32 *)
int | TIFFYCbCrToRGBInit (TIFFYCbCrToRGB *, float *, float *)
void | TIFFYCbCrtoRGB (TIFFYCbCrToRGB *, uint32, int32, int32, uint32 *, uint32 *, uint32 *)

## Macro Definition Documentation

#define __attribute__ | ( |  | x | ) | /*nothing*/

Definition at line 255 of file tiffio.h.

#define CIELABTORGB_TABLE_RANGE 1500

Definition at line 158 of file tiffio.h.

#define D50_X0 (96.4250F)

Definition at line 123 of file tiffio.h.

#define D50_Y0 (100.0F)

Definition at line 124 of file tiffio.h.

#define D50_Z0 (82.4680F)

Definition at line 125 of file tiffio.h.

#define D65_X0 (95.0470F)

Definition at line 119 of file tiffio.h.

#define D65_Y0 (100.0F)

Definition at line 120 of file tiffio.h.

#define D65_Z0 (108.8827F)

Definition at line 121 of file tiffio.h.

#define FIELD_CUSTOM 65

Definition at line 301 of file tiffio.h.

#define LOGLUV_PUBLIC 1

Definition at line 251 of file tiffio.h.

#define TIFF_ANY TIFF_NOTYPE /* for field descriptor searching */

Definition at line 296 of file tiffio.h.

#define TIFF_SPP -2 /* marker for SamplesPerPixel tags */

Definition at line 298 of file tiffio.h.

#define TIFF_VARIABLE -1 /* marker for variable length tags */

Definition at line 297 of file tiffio.h.

#define TIFF_VARIABLE2 -3 /* marker for uint32 var-length tags */

Definition at line 299 of file tiffio.h.

#define TIFFGetA | ( |  | abgr | ) | (((abgr) >> 24) & 0xff)

Definition at line 230 of file tiffio.h.

#define TIFFGetB | ( |  | abgr | ) | (((abgr) >> 16) & 0xff)

Definition at line 229 of file tiffio.h.

#define TIFFGetG | ( |  | abgr | ) | (((abgr) >> 8) & 0xff)

Definition at line 228 of file tiffio.h.

#define TIFFGetR | ( |  | abgr | ) | ((abgr) & 0xff)

Definition at line 227 of file tiffio.h.

#define TIFFPRINT_COLORMAP 0x4 /* colormap */

Definition at line 109 of file tiffio.h.

#define TIFFPRINT_CURVES 0x2 /* color/gray response curves */

Definition at line 108 of file tiffio.h.

#define TIFFPRINT_JPEGACTABLES 0x200 /* JPEG AC tables */

Definition at line 111 of file tiffio.h.

#define TIFFPRINT_JPEGDCTABLES 0x200 /* JPEG DC tables */

Definition at line 112 of file tiffio.h.

#define TIFFPRINT_JPEGQTABLES 0x100 /* JPEG Q matrices */

Definition at line 110 of file tiffio.h.

#define TIFFPRINT_NONE 0x0 /* no extra info */

Definition at line 106 of file tiffio.h.

#define TIFFPRINT_STRIPS 0x1 /* strips/tiles info */

Definition at line 107 of file tiffio.h.

#define U_NEU 0.210526316

Definition at line 479 of file tiffio.h.

#define UVSCALE 410.

Definition at line 481 of file tiffio.h.

#define V_NEU 0.473684211

Definition at line 480 of file tiffio.h.

## Typedef Documentation

typedef void* tdata_t

Definition at line 68 of file tiffio.h.

typedef uint16 tdir_t

Definition at line 62 of file tiffio.h.

typedef void* thandle_t

Definition at line 97 of file tiffio.h.

typedef struct tiff TIFF

Definition at line 40 of file tiffio.h.

typedef int(* TIFFCloseProc) (thandle_t)

Definition at line 265 of file tiffio.h.

typedef void(* TIFFErrorHandler) (const char *, const char *, va_list)

Definition at line 261 of file tiffio.h.

typedef void(* TIFFErrorHandlerExt) (thandle_t, const char *, const char *, va_list)

Definition at line 262 of file tiffio.h.

typedef void(* TIFFExtendProc) (TIFF *)

Definition at line 269 of file tiffio.h.

typedef int(* TIFFInitMethod) (TIFF *, int)

Definition at line 239 of file tiffio.h.

typedef int(* TIFFMapFileProc) (thandle_t, tdata_t *, toff_t *)

Definition at line 267 of file tiffio.h.

typedef void(* TIFFPrintMethod) (TIFF *, FILE *, long)

Definition at line 329 of file tiffio.h.

typedef tsize_t(* TIFFReadWriteProc) (thandle_t, tdata_t, tsize_t)

Definition at line 263 of file tiffio.h.

typedef struct _TIFFRGBAImage TIFFRGBAImage

Definition at line 170 of file tiffio.h.

typedef unsigned char TIFFRGBValue

Definition at line 129 of file tiffio.h.

typedef toff_t(* TIFFSeekProc) (thandle_t, toff_t, int)

Definition at line 264 of file tiffio.h.

typedef toff_t(* TIFFSizeProc) (thandle_t)

Definition at line 266 of file tiffio.h.

typedef struct _TIFFTagValue TIFFTagValue

typedef void(* TIFFUnmapFileProc) (thandle_t, tdata_t, toff_t)

Definition at line 268 of file tiffio.h.

typedef int(* TIFFVGetMethod) (TIFF *, ttag_t, va_list)

Definition at line 328 of file tiffio.h.

typedef int(* TIFFVSetMethod) (TIFF *, ttag_t, va_list)

Definition at line 327 of file tiffio.h.

typedef void(* tileContigRoutine) (TIFFRGBAImage *, uint32 *, uint32, uint32, uint32, uint32, int32, int32, unsigned char *)

Definition at line 182 of file tiffio.h.

typedef void(* tileSeparateRoutine) (TIFFRGBAImage *, uint32 *, uint32, uint32, uint32, uint32, int32, int32, unsigned char *, unsigned char *, unsigned char *, unsigned char *)

Definition at line 185 of file tiffio.h.

typedef uint32 toff_t

Definition at line 69 of file tiffio.h.

typedef uint16 tsample_t

Definition at line 63 of file tiffio.h.

typedef int32 tsize_t

Definition at line 67 of file tiffio.h.

typedef uint32 tstrile_t

Definition at line 64 of file tiffio.h.

typedef tstrile_t tstrip_t

Definition at line 65 of file tiffio.h.

typedef uint32 ttag_t

Definition at line 61 of file tiffio.h.

typedef tstrile_t ttile_t

Definition at line 66 of file tiffio.h.

## Function Documentation

void _TIFFfree | ( | tdata_t |  | ) |

Definition at line 467 of file tif_acorn.c.

tdata_t _TIFFmalloc | ( | tsize_t |  | ) |

Definition at line 461 of file tif_acorn.c.

int _TIFFmemcmp | ( | const tdata_t | ,
|  | const tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 491 of file tif_acorn.c.

void _TIFFmemcpy | ( | tdata_t | ,
|  | const tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 485 of file tif_acorn.c.

void _TIFFmemset | ( | tdata_t | ,
|  | int | ,
|  | tsize_t |
| ) |  |

Definition at line 479 of file tif_acorn.c.

tdata_t _TIFFrealloc | ( | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 473 of file tif_acorn.c.

int LogL10fromY | ( | double | ,
|  | int |
| ) |  |

Definition at line 743 of file tif_luv.c.

double LogL10toY | ( | int |  | ) |

Definition at line 732 of file tif_luv.c.

int LogL16fromY | ( | double | ,
|  | int |
| ) |  |

Definition at line 665 of file tif_luv.c.

double LogL16toY | ( | int |  | ) |

Definition at line 650 of file tif_luv.c.

uint32 LogLuv24fromXYZ | ( | float * | ,
|  | int |
| ) |  |

void LogLuv24toXYZ | ( | uint32 | ,
|  | float * |
| ) |  |

uint32 LogLuv32fromXYZ | ( | float * | ,
|  | int |
| ) |  |

void LogLuv32toXYZ | ( | uint32 | ,
|  | float * |
| ) |  |

TIFFTagMethods* TIFFAccessTagMethods | ( | TIFF * |  | ) |

Definition at line 60 of file tif_extension.c.

int TIFFCheckpointDirectory | ( | TIFF * |  | ) |

Definition at line 426 of file tif_dirwrite.c.

int TIFFCheckTile | ( | TIFF * | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 105 of file tif_tile.c.

int TIFFCIELabToRGBInit | ( | TIFFCIELabToRGB * | ,
|  | TIFFDisplay * | ,
|  | float * |
| ) |  |

Definition at line 125 of file tif_color.c.

void TIFFCIELabToXYZ | ( | TIFFCIELabToRGB * | ,
|  | uint32 | ,
|  | int32 | ,
|  | int32 | ,
|  | float * | ,
|  | float * | ,
|  | float * |
| ) |  |

Definition at line 46 of file tif_color.c.

void TIFFCleanup | ( | TIFF * | tif | ) |

Auxiliary function to free the TIFF structure. Given structure will be completetly freed, so you should save opened file handle and pointer to the close procedure in external variables before calling _TIFFCleanup(), if you will need these ones to close the file.

Parameters

  tif | A TIFF pointer.

Definition at line 46 of file tif_close.c.

thandle_t TIFFClientdata | ( | TIFF * |  | ) |

Definition at line 498 of file tif_open.c.

TIFF* TIFFClientOpen | ( | const char * | ,
|  | const char * | ,
|  | thandle_t | ,
|  | TIFFReadWriteProc | ,
|  | TIFFReadWriteProc | ,
|  | TIFFSeekProc | ,
|  | TIFFCloseProc | ,
|  | TIFFSizeProc | ,
|  | TIFFMapFileProc | ,
|  | TIFFUnmapFileProc |
| ) |  |

Definition at line 139 of file tif_open.c.

void TIFFClose | ( | TIFF * | tif | ) |

Close a previously opened TIFF file.

TIFFClose closes a file that was previously opened with TIFFOpen(). Any buffered data are flushed to the file, including the contents of the current directory (if modified); and all resources are reclaimed.

Parameters

  tif | A TIFF pointer.

Definition at line 111 of file tif_close.c.

tstrip_t TIFFComputeStrip | ( | TIFF * | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 68 of file tif_strip.c.

ttile_t TIFFComputeTile | ( | TIFF * | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 68 of file tif_tile.c.

int TIFFCreateDirectory | ( | TIFF * |  | ) |

Definition at line 1040 of file tif_dir.c.

tdir_t TIFFCurrentDirectory | ( | TIFF * |  | ) |

Definition at line 557 of file tif_open.c.

uint32 TIFFCurrentDirOffset | ( | TIFF * |  | ) |

Definition at line 1242 of file tif_dir.c.

uint32 TIFFCurrentRow | ( | TIFF * |  | ) |

Definition at line 548 of file tif_open.c.

tstrip_t TIFFCurrentStrip | ( | TIFF * |  | ) |

Definition at line 566 of file tif_open.c.

ttile_t TIFFCurrentTile | ( | TIFF * |  | ) |

Definition at line 575 of file tif_open.c.

int TIFFDataWidth | ( | TIFFDataType |  | ) |

Definition at line 662 of file tif_dirinfo.c.

uint32 TIFFDefaultStripSize | ( | TIFF * | ,
|  | uint32 |
| ) |  |

Definition at line 198 of file tif_strip.c.

void TIFFDefaultTileSize | ( | TIFF * | ,
|  | uint32 * | ,
|  | uint32 * |
| ) |  |

Definition at line 253 of file tif_tile.c.

void TIFFError | ( | const char * | ,
|  | const char * | ,
|  |  | ...
| ) |  |

void void TIFFErrorExt | ( | thandle_t | ,
|  | const char * | ,
|  | const char * | ,
|  |  | ...
| ) |  |

TIFF* TIFFFdOpen | ( | int | ,
|  | const char * | ,
|  | const char * |
| ) |  |

Definition at line 418 of file tif_acorn.c.

const TIFFFieldInfo* TIFFFieldWithName | ( | TIFF * | ,
|  | const char * |
| ) |  |

const TIFFFieldInfo* TIFFFieldWithTag | ( | TIFF * | ,
|  | ttag_t |
| ) |  |

const char* TIFFFileName | ( | TIFF * |  | ) |

Definition at line 458 of file tif_open.c.

int TIFFFileno | ( | TIFF * |  | ) |

Definition at line 478 of file tif_open.c.

const TIFFCodec* TIFFFindCODEC | ( | uint16 |  | ) |

Definition at line 179 of file tif_compress.c.

const TIFFFieldInfo* TIFFFindFieldInfo | ( | TIFF * | ,
|  | ttag_t | ,
|  | TIFFDataType |
| ) |  |

const TIFFFieldInfo* TIFFFindFieldInfoByName | ( | TIFF * | ,
|  | const char * | ,
|  | TIFFDataType |
| ) |  |

int TIFFFlush | ( | TIFF * |  | ) |

Definition at line 33 of file tif_flush.c.

int TIFFFlushData | ( | TIFF * |  | ) |

Definition at line 56 of file tif_flush.c.

void TIFFFreeDirectory | ( | TIFF * |  | ) |

Definition at line 987 of file tif_dir.c.

const unsigned char* TIFFGetBitRevTable | ( | int |  | ) |

Definition at line 212 of file tif_swab.c.

void* TIFFGetClientInfo | ( | TIFF * | ,
|  | const char * |
| ) |  |

Definition at line 66 of file tif_extension.c.

TIFFCloseProc TIFFGetCloseProc | ( | TIFF * |  | ) |

Definition at line 647 of file tif_open.c.

TIFFCodec* TIFFGetConfiguredCODECs | ( | void |  | ) |

Get list of configured codecs, both built-in and registered by user. Caller is responsible to free this structure.

Returns
  returns array of TIFFCodec records (the last record should be NULL) or NULL if function failed.

Definition at line 245 of file tif_compress.c.

int TIFFGetField | ( | TIFF * | ,
|  | ttag_t | ,
|  |  | ...
| ) |  |

Definition at line 951 of file tif_dir.c.

int TIFFGetFieldDefaulted | ( | TIFF * | ,
|  | ttag_t | ,
|  |  | ...
| ) |  |

Definition at line 272 of file tif_aux.c.

TIFFMapFileProc TIFFGetMapFileProc | ( | TIFF * |  | ) |

Definition at line 665 of file tif_open.c.

int TIFFGetMode | ( | TIFF * |  | ) |

Definition at line 518 of file tif_open.c.

TIFFReadWriteProc TIFFGetReadProc | ( | TIFF * |  | ) |

Definition at line 620 of file tif_open.c.

TIFFSeekProc TIFFGetSeekProc | ( | TIFF * |  | ) |

Definition at line 638 of file tif_open.c.

TIFFSizeProc TIFFGetSizeProc | ( | TIFF * |  | ) |

Definition at line 656 of file tif_open.c.

int TIFFGetTagListCount | ( | TIFF * |  | ) |

Definition at line 36 of file tif_extension.c.

ttag_t TIFFGetTagListEntry | ( | TIFF * | ,
|  | int | tag_index
| ) |  |

Definition at line 44 of file tif_extension.c.

TIFFUnmapFileProc TIFFGetUnmapFileProc | ( | TIFF * |  | ) |

Definition at line 674 of file tif_open.c.

const char* TIFFGetVersion | ( | void |  | ) |

Definition at line 30 of file tif_version.c.

TIFFReadWriteProc TIFFGetWriteProc | ( | TIFF * |  | ) |

Definition at line 629 of file tif_open.c.

int TIFFIsBigEndian | ( | TIFF * |  | ) |

Definition at line 611 of file tif_open.c.

int TIFFIsByteSwapped | ( | TIFF * |  | ) |

Definition at line 584 of file tif_open.c.

int TIFFIsCODECConfigured | ( | uint16 | scheme | ) |

Check whether we have working codec for the specific coding scheme.

Returns
  returns 1 if the codec is configured and working. Otherwise 0 will be returned.

Definition at line 138 of file tif_codec.c.

int TIFFIsMSB2LSB | ( | TIFF * |  | ) |

Definition at line 602 of file tif_open.c.

int TIFFIsTiled | ( | TIFF * |  | ) |

Definition at line 539 of file tif_open.c.

int TIFFIsUpSampled | ( | TIFF * |  | ) |

Definition at line 593 of file tif_open.c.

int TIFFLastDirectory | ( | TIFF * |  | ) |

Definition at line 1252 of file tif_dir.c.

void TIFFMergeFieldInfo | ( | TIFF * | ,
|  | const TIFFFieldInfo | [],
|  | int |
| ) |  |

Definition at line 583 of file tif_dirinfo.c.

tsize_t TIFFNewScanlineSize | ( | TIFF * |  | ) |

Definition at line 301 of file tif_strip.c.

tdir_t TIFFNumberOfDirectories | ( | TIFF * |  | ) |

Definition at line 1181 of file tif_dir.c.

tstrip_t TIFFNumberOfStrips | ( | TIFF * |  | ) |

Definition at line 90 of file tif_strip.c.

ttile_t TIFFNumberOfTiles | ( | TIFF * |  | ) |

Definition at line 145 of file tif_tile.c.

tsize_t TIFFOldScanlineSize | ( | TIFF * |  | ) |

Definition at line 275 of file tif_strip.c.

TIFF* TIFFOpen | ( | const char * | ,
|  | const char * |
| ) |  |

Definition at line 438 of file tif_acorn.c.

void TIFFPrintDirectory | ( | TIFF * | ,
|  | FILE * | ,
|  | long |
| ) |  |

Definition at line 195 of file tif_print.c.

tsize_t TIFFRasterScanlineSize | ( | TIFF * |  | ) |

Definition at line 346 of file tif_strip.c.

tsize_t TIFFRawStripSize | ( | TIFF * | ,
|  | tstrip_t |
| ) |  |

Definition at line 158 of file tif_strip.c.

int TIFFReadBufferSetup | ( | TIFF * | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 593 of file tif_read.c.

int TIFFReadCustomDirectory | ( | TIFF * | ,
|  | toff_t | ,
|  | const TIFFFieldInfo | [],
|  | size_t |
| ) |  |

Definition at line 813 of file tif_dirread.c.

int TIFFReadDirectory | ( | TIFF * |  | ) |

Definition at line 74 of file tif_dirread.c.

tsize_t TIFFReadEncodedStrip | ( | TIFF * | ,
|  | tstrip_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 124 of file tif_read.c.

tsize_t TIFFReadEncodedTile | ( | TIFF * | ,
|  | ttile_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 384 of file tif_read.c.

int TIFFReadEXIFDirectory | ( | TIFF * | ,
|  | toff_t |
| ) |  |

Definition at line 935 of file tif_dirread.c.

tsize_t TIFFReadRawStrip | ( | TIFF * | ,
|  | tstrip_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 218 of file tif_read.c.

tsize_t TIFFReadRawTile | ( | TIFF * | ,
|  | ttile_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 460 of file tif_read.c.

int TIFFReadRGBAImage | ( | TIFF * | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 * | ,
|  | int |
| ) |  |

Definition at line 495 of file tif_getimage.c.

int TIFFReadRGBAImageOriented | ( | TIFF * | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 * | ,
|  | int | ,
|  | int |
| ) |  |

Definition at line 469 of file tif_getimage.c.

int TIFFReadRGBAStrip | ( | TIFF * | ,
|  | tstrip_t | ,
|  | uint32 * |
| ) |  |

Definition at line 2521 of file tif_getimage.c.

int TIFFReadRGBATile | ( | TIFF * | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 * |
| ) |  |

Definition at line 2572 of file tif_getimage.c.

int TIFFReadScanline | ( | TIFF * | ,
|  | tdata_t | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 96 of file tif_read.c.

tsize_t TIFFReadTile | ( | TIFF * | ,
|  | tdata_t | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 370 of file tif_read.c.

int TIFFReassignTagToIgnore | ( | enum | TIFFIgnoreSense,
|  | int |
| ) |  |

Definition at line 1341 of file tif_dir.c.

TIFFCodec* TIFFRegisterCODEC | ( | uint16 | ,
|  | const char * | ,
|  | TIFFInitMethod |
| ) |  |

Definition at line 194 of file tif_compress.c.

void TIFFReverseBits | ( | unsigned char * | ,
|  | unsigned | long
| ) |  |

int TIFFRewriteDirectory | ( | TIFF * |  | ) |

Definition at line 1246 of file tif_dirwrite.c.

int TIFFRGBAImageBegin | ( | TIFFRGBAImage * | ,
|  | TIFF * | ,
|  | int | ,
|  | char | [1024]
| ) |  |

Definition at line 224 of file tif_getimage.c.

void TIFFRGBAImageEnd | ( | TIFFRGBAImage * |  | ) |

Definition at line 193 of file tif_getimage.c.

int TIFFRGBAImageGet | ( | TIFFRGBAImage * | ,
|  | uint32 * | ,
|  | uint32 | ,
|  | uint32 |
| ) |  |

Definition at line 450 of file tif_getimage.c.

int TIFFRGBAImageOK | ( | TIFF * | ,
|  | char | [1024]
| ) |  |

Definition at line 72 of file tif_getimage.c.

tsize_t TIFFScanlineSize | ( | TIFF * |  | ) |

Definition at line 227 of file tif_strip.c.

thandle_t TIFFSetClientdata | ( | TIFF * | ,
|  | thandle_t |
| ) |  |

Definition at line 507 of file tif_open.c.

void TIFFSetClientInfo | ( | TIFF * | ,
|  | void * | ,
|  | const char * |
| ) |  |

Definition at line 80 of file tif_extension.c.

int TIFFSetDirectory | ( | TIFF * | ,
|  | tdir_t |
| ) |  |

Definition at line 1196 of file tif_dir.c.

void void void void TIFFErrorHandler TIFFSetErrorHandler | ( | TIFFErrorHandler |  | ) |

Definition at line 35 of file tif_error.c.

TIFFErrorHandlerExt TIFFSetErrorHandlerExt | ( | TIFFErrorHandlerExt |  | ) |

Definition at line 43 of file tif_error.c.

int TIFFSetField | ( | TIFF * | ,
|  | ttag_t | ,
|  |  | ...
| ) |  |

Definition at line 649 of file tif_dir.c.

const char* TIFFSetFileName | ( | TIFF * | ,
|  | const char * |
| ) |  |

Definition at line 467 of file tif_open.c.

int TIFFSetFileno | ( | TIFF * | ,
|  | int |
| ) |  |

Definition at line 487 of file tif_open.c.

int TIFFSetMode | ( | TIFF * | ,
|  | int |
| ) |  |

Definition at line 527 of file tif_open.c.

int TIFFSetSubDirectory | ( | TIFF * | ,
|  | uint32 |
| ) |  |

Definition at line 1227 of file tif_dir.c.

TIFFExtendProc TIFFSetTagExtender | ( | TIFFExtendProc |  | ) |

Definition at line 1025 of file tif_dir.c.

int TIFFSetupStrips | ( | TIFF * |  | ) |

Definition at line 443 of file tif_write.c.

TIFFErrorHandler TIFFSetWarningHandler | ( | TIFFErrorHandler |  | ) |

Definition at line 35 of file tif_warning.c.

TIFFErrorHandlerExt TIFFSetWarningHandlerExt | ( | TIFFErrorHandlerExt |  | ) |

Definition at line 43 of file tif_warning.c.

void TIFFSetWriteOffset | ( | TIFF * | ,
|  | toff_t |
| ) |  |

Definition at line 706 of file tif_write.c.

tsize_t TIFFStripSize | ( | TIFF * |  | ) |

Definition at line 182 of file tif_strip.c.

void TIFFSwabArrayOfDouble | ( | double * | ,
|  | unsigned | long
| ) |  |

void TIFFSwabArrayOfLong | ( | uint32 * | ,
|  | unsigned | long
| ) |  |

void TIFFSwabArrayOfShort | ( | uint16 * | ,
|  | unsigned | long
| ) |  |

void TIFFSwabArrayOfTriples | ( | uint8 * | ,
|  | unsigned | long
| ) |  |

Definition at line 75 of file tif_swab.c.

void TIFFSwabDouble | ( | double * |  | ) |

Definition at line 108 of file tif_swab.c.

void TIFFSwabLong | ( | uint32 * |  | ) |

Definition at line 47 of file tif_swab.c.

void TIFFSwabShort | ( | uint16 * |  | ) |

Definition at line 36 of file tif_swab.c.

tsize_t TIFFTileRowSize | ( | TIFF * |  | ) |

Definition at line 174 of file tif_tile.c.

tsize_t TIFFTileSize | ( | TIFF * |  | ) |

Definition at line 241 of file tif_tile.c.

int TIFFUnlinkDirectory | ( | TIFF * | ,
|  | tdir_t |
| ) |  |

Definition at line 1261 of file tif_dir.c.

void TIFFUnRegisterCODEC | ( | TIFFCodec * |  | ) |

Definition at line 217 of file tif_compress.c.

int TIFFVGetField | ( | TIFF * | ,
|  | ttag_t | ,
|  | va_list |
| ) |  |

Definition at line 969 of file tif_dir.c.

int TIFFVGetFieldDefaulted | ( | TIFF * | ,
|  | ttag_t | ,
|  | va_list |
| ) |  |

Definition at line 143 of file tif_aux.c.

int TIFFVSetField | ( | TIFF * | ,
|  | ttag_t | ,
|  | va_list |
| ) |  |

Definition at line 667 of file tif_dir.c.

tsize_t TIFFVStripSize | ( | TIFF * | ,
|  | uint32 |
| ) |  |

Definition at line 107 of file tif_strip.c.

tsize_t TIFFVTileSize | ( | TIFF * | ,
|  | uint32 |
| ) |  |

Definition at line 193 of file tif_tile.c.

void void void TIFFWarning | ( | const char * | ,
|  | const char * | ,
|  |  | ...
| ) |  |

void void void void TIFFWarningExt | ( | thandle_t | ,
|  | const char * | ,
|  | const char * | ,
|  |  | ...
| ) |  |

int TIFFWriteBufferSetup | ( | TIFF * | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 546 of file tif_write.c.

int TIFFWriteCheck | ( | TIFF * | ,
|  | int | ,
|  | const char * |
| ) |  |

Definition at line 483 of file tif_write.c.

int TIFFWriteDirectory | ( | TIFF * |  | ) |

Definition at line 414 of file tif_dirwrite.c.

tsize_t TIFFWriteEncodedStrip | ( | TIFF * | ,
|  | tstrip_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 182 of file tif_write.c.

tsize_t TIFFWriteEncodedTile | ( | TIFF * | ,
|  | ttile_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 336 of file tif_write.c.

tsize_t TIFFWriteRawStrip | ( | TIFF * | ,
|  | tstrip_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 264 of file tif_write.c.

tsize_t TIFFWriteRawTile | ( | TIFF * | ,
|  | ttile_t | ,
|  | tdata_t | ,
|  | tsize_t |
| ) |  |

Definition at line 423 of file tif_write.c.

int TIFFWriteScanline | ( | TIFF * | ,
|  | tdata_t | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 49 of file tif_write.c.

tsize_t TIFFWriteTile | ( | TIFF * | ,
|  | tdata_t | ,
|  | uint32 | ,
|  | uint32 | ,
|  | uint32 | ,
|  | tsample_t |
| ) |  |

Definition at line 308 of file tif_write.c.

void TIFFXYZToRGB | ( | TIFFCIELabToRGB * | ,
|  | float | ,
|  | float | ,
|  | float | ,
|  | uint32 * | ,
|  | uint32 * | ,
|  | uint32 * |
| ) |  |

Definition at line 78 of file tif_color.c.

void TIFFYCbCrtoRGB | ( | TIFFYCbCrToRGB * | ,
|  | uint32 | ,
|  | int32 | ,
|  | int32 | ,
|  | uint32 * | ,
|  | uint32 * | ,
|  | uint32 * |
| ) |  |

Definition at line 183 of file tif_color.c.

int TIFFYCbCrToRGBInit | ( | TIFFYCbCrToRGB * | ,
|  | float * | ,
|  | float * |
| ) |  |

Definition at line 212 of file tif_color.c.

int uv_decode | ( | double * | ,
|  | double * | ,
|  | int |
| ) |  |

Definition at line 836 of file tif_luv.c.

int uv_encode | ( | double | ,
|  | double | ,
|  | int |
| ) |  |

Definition at line 814 of file tif_luv.c.

void XYZtoRGB24 | ( | float * | ,
|  | uint8 * |
| ) |  |