Optional
noIf true, chrominance sub-sampling is disabled
Optional
optimizeIf true, split the spectrum of DCT coefficients into separate scans
Optional
overshootIf true, enables overshooting of samples with extreme values
Optional
progressive?: booleanIf true, enables progressive JPEG compression
Optional
quantizationQuantization table to use
0: Table from JPEG Annex K (default);
1: Flat table;
2: Table tuned for MSSIM on Kodak image set;
3: Table from ImageMagick by N. Robidoux;
4: Table tuned for PSNR-HVS-M on Kodak image set;
5: Table from Relevance of Human Vision to JPEG-DCT Compression (1992);
6: Table from DCTune Perceptual Optimization of Compressed Dental X-Rays (1997);
7: Table from A Visual Detection Model for DCT Coefficient Quantization (1993);
8: Table from An Improved Detection Model for DCT Coefficient Quantization (1993).
Optional
trellisIf true, enables trellis quantization for each 8x8 block
Generated using TypeDoc
The JPEG options