Skip to content

0.12.4

Choose a tag to compare

@martinbenes1996 martinbenes1996 released this 30 Mar 09:56

What is new?

  • added flags for Trellis Quantization (only for mozjpeg 3.0.0 and above)
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