LibGd 2.4.0-dev
GD Graphics library
Loading...
Searching...
No Matches
Data Fields
gdTiffInfo Struct Reference

TIFF file information from the first page and container. More...

#include <gd.h>

Data Fields

int width
 
int height
 
int page_count
 
int bits_per_sample
 
int samples_per_pixel
 
int compression
 
int photometric
 
float x_resolution
 
float y_resolution
 
int resolution_unit
 

Detailed Description

TIFF file information from the first page and container.

Field Documentation

◆ bits_per_sample

int gdTiffInfo::bits_per_sample

First page bits per sample.

◆ compression

int gdTiffInfo::compression

First page compression tag value, usually a GD_TIFF_COMPRESSION_* enum value.

◆ height

int gdTiffInfo::height

First page height in pixels.

◆ page_count

int gdTiffInfo::page_count

Number of TIFF directories/pages in the file.

◆ photometric

int gdTiffInfo::photometric

First page photometric tag value, usually a GD_TIFF_PHOTOMETRIC_* enum value.

◆ resolution_unit

int gdTiffInfo::resolution_unit

First page resolution unit, one of the GD_TIFF_RESUNIT_* enum values.

◆ samples_per_pixel

int gdTiffInfo::samples_per_pixel

First page samples per pixel.

◆ width

int gdTiffInfo::width

First page width in pixels.

◆ x_resolution

float gdTiffInfo::x_resolution

First page horizontal resolution.

◆ y_resolution

float gdTiffInfo::y_resolution

First page vertical resolution.


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