jpeg_set_linear_quality
Name
jpeg_set_linear_quality -- construct JPEG quantization tables for indicated scale factor
Synopsis
void
jpeg_set_linear_quality
(j_compress_ptr
cinfo, int
scale_factor, boolean
force_baseline);
Description
The function jpeg_set_linear_quality() shall construct JPEG quantization tables
from the sample table values in JPEG specification Section K.1, multiplied by
the given percentage scale factor.
If "force_baseline" is TRUE, the computed quantization table entries are
limited to 1..255 for JPEG baseline compatibility.