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

Options for reading JPEG data. More...

#include <gd.h>

Data Fields

int ignore_warning
 
unsigned int scale_num
 
unsigned int scale_denom
 
int dct_method
 

Detailed Description

Options for reading JPEG data.

scale_num / scale_denom: The ratio to scale by.

Field Documentation

◆ dct_method

int gdJpegReadOptions::dct_method

One of the GD_JPEG_DCT_* constants.

◆ ignore_warning

int gdJpegReadOptions::ignore_warning

Non-zero to suppress recoverable JPEG warnings.

◆ scale_denom

unsigned int gdJpegReadOptions::scale_denom

Decode scale denominator.

◆ scale_num

unsigned int gdJpegReadOptions::scale_num

Decode scale numerator. When build against libjpeg-turbo, the library handles the scaling internally. With libjpeg, the available closed scaling factors are handled by the library, and GD handles the requested scaling then.


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