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

Basic information read from a JPEG header. More...

#include <gd.h>

Data Fields

int width
 
int height
 
int bits_per_sample
 
int components
 
int color_space
 
int progressive
 
int density_unit
 
int x_density
 
int y_density
 

Detailed Description

Basic information read from a JPEG header.

Field Documentation

◆ bits_per_sample

int gdJpegInfo::bits_per_sample

Bits per sample reported by the JPEG library.

◆ color_space

int gdJpegInfo::color_space

One of the GD_JPEG_COLOR_SPACE_* constants.

◆ components

int gdJpegInfo::components

Number of image components.

◆ density_unit

int gdJpegInfo::density_unit

One of the GD_JPEG_DENSITY_UNIT_* constants.

◆ height

int gdJpegInfo::height

Image height in pixels.

◆ progressive

int gdJpegInfo::progressive

Non-zero if the image is progressive.

◆ width

int gdJpegInfo::width

Image width in pixels.

◆ x_density

int gdJpegInfo::x_density

Horizontal density, or -1 if not available.

◆ y_density

int gdJpegInfo::y_density

Vertical density, or -1 if not available.


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