TinyTIFF
a lightweight C/C++ library for reading and writing TIFF files
Loading...
Searching...
No Matches

this struct represents a TIFF file More...

Data Fields

uint16_t bitspersample
 bits per sample of the frames
 
uint8_t byteorder
 specifies the byte order of the system (and the written file!)
 
uint32_t descriptionOffset
 
uint32_t descriptionSizeOffset
 
FILE * file
 the libc file handle
 
uint16_t firstExtraChannelType
 type of the first extra channel
 
uint64_t frames
 counter for the frames, written into the file
 
uint32_t height
 height of the frames
 
char lastError [TIFF_LAST_ERROR_SIZE]
 
uint8_t * lastHeader
 temporary data array for the current header
 
int lastHeaderSize
 
uint16_t lastIFDCount
 counts the entries in the current IFD/frame header
 
uint32_t lastIFDDATAAdress
 
uint32_t lastIFDOffsetField
 position of the field in the previously written IFD/header, which points to the next frame. This is set to 0, when closing the file to indicate, the last frame!
 
long int lastStartPos
 file position (from ftell) of the first byte of the previous IFD/frame header
 
uint16_t photometricInterpretation
 photometric interpretation to store in the file
 
uint32_t pos
 current write position in lastHeader
 
uint16_t sampleformat
 format of the samples
 
uint16_t samples
 number of samples of the frames
 
uint16_t secondaryExtraChannelType
 type of all extraChannels after the first, which is specified by firstExtraChannelType
 
int wasError
 
uint32_t width
 width of the frames
 

Detailed Description

this struct represents a TIFF file


The documentation for this struct was generated from the following file: