spandsp 3.0.0
t4_tx_tiff_state_t Struct Reference

#include <t4_tx.h>

Public Attributes

const char * file
 The current file name.
TIFF * tiff_file
 The libtiff context for the current TIFF file.
uint16_t compression
 The compression type used in the TIFF file.
int image_type
 Image type - bi-level, gray, colour, etc.
uint16_t photo_metric
 The TIFF photometric setting for the current page.
uint16_t fill_order
 The TIFF fill order setting for the current page.
uint32_t image_width
 Width of the image in the file.
uint32_t image_length
 Length of the image in the file.
int x_resolution
 Column-to-column (X) resolution in pixels per metre of the image in the file.
int y_resolution
 Row-to-row (Y) resolution in pixels per metre of the image in the file.
int resolution_code
 Code for the combined X and Y resolution of the image in the file.
int pages_in_file
 The number of pages in the current image file.
uint8_t * image_buffer
 A pointer to the image buffer.
int image_size
 The size of the image in the image buffer, in bytes.
int image_buffer_size
 The current size of the image buffer.
int row
 Row counter for playing out the rows of the image.
int raw_row
 Row counter used when the image is resized or dithered flat.

Detailed Description

TIFF specific state information to go with T.4 compression or decompression handling.

Member Data Documentation

◆ file

const char* t4_tx_tiff_state_t::file

◆ image_length

uint32_t t4_tx_tiff_state_t::image_length

Length of the image in the file.

Referenced by t4_tx_get_transfer_statistics(), and t4_tx_set_tx_image_format().

◆ image_type

int t4_tx_tiff_state_t::image_type

Image type - bi-level, gray, colour, etc.

Referenced by t4_tx_get_transfer_statistics(), and t4_tx_set_tx_image_format().

◆ image_width

uint32_t t4_tx_tiff_state_t::image_width

Width of the image in the file.

Referenced by t4_tx_get_transfer_statistics(), and t4_tx_set_tx_image_format().

◆ pages_in_file

int t4_tx_tiff_state_t::pages_in_file

The number of pages in the current image file.

Referenced by t4_tx_get_pages_in_file(), t4_tx_get_transfer_statistics(), and t4_tx_init().

◆ resolution_code

int t4_tx_tiff_state_t::resolution_code

Code for the combined X and Y resolution of the image in the file.

Referenced by t4_tx_set_tx_image_format().

◆ tiff_file

TIFF* t4_tx_tiff_state_t::tiff_file

The libtiff context for the current TIFF file.

Referenced by t4_tx_init(), t4_tx_next_page_has_different_format(), and t4_tx_start_page().

◆ x_resolution

int t4_tx_tiff_state_t::x_resolution

Column-to-column (X) resolution in pixels per metre of the image in the file.

Referenced by t4_tx_get_transfer_statistics().

◆ y_resolution

int t4_tx_tiff_state_t::y_resolution

Row-to-row (Y) resolution in pixels per metre of the image in the file.

Referenced by t4_tx_get_transfer_statistics().


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