TJXOP

Transform operations for #tjTransform()

Values

ValueMeaning
TJXOP_NONE0

Do not transform the position of the image pixels

TJXOP_HFLIP

Flip (mirror) image horizontally. This transform is imperfect if there are any partial MCU blocks on the right edge (see #TJXOPT_PERFECT.)

TJXOP_VFLIP

Flip (mirror) image vertically. This transform is imperfect if there are any partial MCU blocks on the bottom edge (see #TJXOPT_PERFECT.)

TJXOP_TRANSPOSE

Transpose image (flip/mirror along upper left to lower right axis.) This transform is always perfect.

TJXOP_TRANSVERSE

Transverse transpose image (flip/mirror along upper right to lower left axis.) This transform is imperfect if there are any partial MCU blocks in the image (see #TJXOPT_PERFECT.)

TJXOP_ROT90

Rotate image clockwise by 90 degrees. This transform is imperfect if there are any partial MCU blocks on the bottom edge (see #TJXOPT_PERFECT.)

TJXOP_ROT180

Rotate image 180 degrees. This transform is imperfect if there are any partial MCU blocks in the image (see #TJXOPT_PERFECT.)

TJXOP_ROT270

Rotate image counter-clockwise by 90 degrees. This transform is imperfect if there are any partial MCU blocks on the right edge (see #TJXOPT_PERFECT.)

Meta