What is new?
- added flags for Trellis Quantization (only for mozjpeg 3.0.0 and above)
python
jpeglib.version.set('mozjpeg300')
jpeg = jpeglib.read_spatial('input.jpeg')
jpeg.write_spatial('output.jpeg', flags=['+TRELLIS_QUANT','+TRELLIS_QUANT_DC'])
Improvements
- removed DCT method and dither mode from JPEG objects
- increased flag representation to 64 bits (limit increased from 16 to 32 flags)
Bugfixes