turbo_jpeg_ffi library

Classes

TJCS
JPEG colorspaces
TJERR
Error codes
TJPF
Pixel formats
tjregion
Cropping region
TJSAMP
Chrominance subsampling options. When pixels are converted from RGB to YCbCr (see #TJCS_YCbCr) or from CMYK to YCCK (see #TJCS_YCCK) as part of the JPEG compression process, some of the Cb and Cr (chrominance) components can be discarded or averaged together to produce a smaller image with little perceptible loss of image clarity (the human eye is more sensitive to small changes in brightness than to small changes in color.) This is called "chrominance subsampling".
tjscalingfactor
Scaling factor
tjtransform
Lossless transform
TJXOP
Transform operations for #tjTransform()
TurboJpegFFI
Raw bindings to the TurboJpeg API of libjpeg-turbo"

Constants

NUMSUBOPT → const int
TJ_411 → const int
TJ_420 → const int
TJ_422 → const int
TJ_444 → const int
TJ_ALPHAFIRST → const int
TJ_BGR → const int
TJ_BOTTOMUP → const int
TJ_FASTUPSAMPLE → const int
TJ_FORCEMMX → const int
TJ_FORCESSE → const int
TJ_FORCESSE2 → const int
TJ_FORCESSE3 → const int
TJ_GRAYSCALE → const int
TJ_NUMCS → const int
TJ_NUMERR → const int
TJ_NUMPF → const int
TJ_NUMSAMP → const int
TJ_NUMXOP → const int
TJ_YUV → const int
TJFLAG_ACCURATEDCT → const int
TJFLAG_BOTTOMUP → const int
TJFLAG_FASTDCT → const int
TJFLAG_FASTUPSAMPLE → const int
TJFLAG_FORCEMMX → const int
TJFLAG_FORCESSE → const int
TJFLAG_FORCESSE2 → const int
TJFLAG_FORCESSE3 → const int
TJFLAG_LIMITSCANS → const int
TJFLAG_NOREALLOC → const int
TJFLAG_PROGRESSIVE → const int
TJFLAG_STOPONWARNING → const int
TJXOPT_COPYNONE → const int
TJXOPT_CROP → const int
TJXOPT_GRAY → const int
TJXOPT_NOOUTPUT → const int
TJXOPT_PERFECT → const int
TJXOPT_PROGRESSIVE → const int
TJXOPT_TRIM → const int

Properties

turboJpegFFI TurboJpegFFI
final

Typedefs

tjhandle = Pointer<Void>
TurboJPEG instance handle