jpeg_add_quant_table - Quantization table setup routines } {GLOBAL
Quantization table setup routines } {GLOBAL
jpeg_default_colorspace - Select an appropriate JPEG colorspace for in_color_space.
jpeg_quality_scaling - Set or change the 'quality' (quantization) setting, using default tables
and a straight percentage-scaling quality scale.
jpeg_set_colorspace - Create a recommended progressive-JPEG script.
jpeg_set_defaults - Set or change the 'quality' (quantization) setting, using default tables.
jpeg_set_linear_quality - GLOBAL
GLOBAL
jpeg_set_quality - Convert a user-specified quality rating to a percentage scaling factor
for an underlying quantization table, using our recommended scaling curve.
jpeg_simple_progression - GLOBAL
procedure jpeg_add_quant_table (cinfo : j_compress_ptr;
which_tbl : int;
const basic_table : array of uInt;
scale_factor : int;
force_baseline : boolean);
Quantization table setup routines } {GLOBAL Quantization table setup routines } {GLOBAL
procedure jpeg_default_colorspace (cinfo : j_compress_ptr);
Select an appropriate JPEG colorspace for in_color_space. } {GLOBAL Select an appropriate JPEG colorspace for in_color_space. } {GLOBAL
function jpeg_quality_scaling (quality : int) : int;
Set or change the 'quality' (quantization) setting, using default tables
and a straight percentage-scaling quality scale. In most cases it's better
to use jpeg_set_quality (below); this entry point is provided for
applications that insist on a linear percentage scaling. } {GLOBALGLOBAL
procedure jpeg_set_colorspace (cinfo : j_compress_ptr;
colorspace : J_COLOR_SPACE);
Create a recommended progressive-JPEG script.
cinfo^.num_components and cinfo^.jpeg_color_space must be correct. } { Set the JPEG colorspace, and choose colorspace-dependent default values. } {GLOBAL Set the JPEG colorspace, and choose colorspace-dependent default values. } {GLOBAL
procedure jpeg_set_defaults (cinfo : j_compress_ptr);
Set or change the 'quality' (quantization) setting, using default tables.
This is the standard quality-adjusting entry point for typical user
interfaces; only those who want detailed control over quantization tables
would use the preceding three routines directly. } {GLOBAL Default parameter setup for compression.
Applications that don't choose to use this routine must do their
own setup of all these parameters. Alternately, you can call this
to establish defaults and then alter parameters selectively. This
is the recommended approach since, if we add any new parameters,
your code will still work (they'll be set to reasonable defaults). } {GLOBAL
procedure jpeg_set_linear_quality (cinfo : j_compress_ptr;
scale_factor : int;
force_baseline : boolean);
GLOBALGLOBAL
procedure jpeg_set_quality (cinfo : j_compress_ptr;
quality : int;
force_baseline : boolean);
Convert a user-specified quality rating to a percentage scaling factor
for an underlying quantization table, using our recommended scaling curve.
The input 'quality' factor should be 0 (terrible) to 100 (very good). } {GLOBALGLOBAL
procedure jpeg_simple_progression (cinfo : j_compress_ptr);
GLOBAL