tjregion

Cropping region

struct tjregion {}

Members

Variables

h
int h;

The height of the cropping region. Setting this to 0 is the equivalent of setting it to the height of the source JPEG image - y.

w
int w;

The width of the cropping region. Setting this to 0 is the equivalent of setting it to the width of the source JPEG image - x.

x
int x;

The left boundary of the cropping region. This must be evenly divisible by the MCU block width (see #tjMCUWidth.)

y
int y;

The upper boundary of the cropping region. This must be evenly divisible by the MCU block height (see #tjMCUHeight.)

Meta