Jpeglib

Latest version: v1.0.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.12.7

What is new?

Improvements

Bugfixes

- fixed closing of file handles in the cjpeglib on error (8 )
- fixed sampling factor rounding (9 )

0.12.6

What is new?

Improvements

- better inference of quant_tbl_no in compression procedure

Bugfixes

- fixed doc building, broken with the chroma sampling factors
- removed format strings to be able to use `jpeglib` in Python 3.7

0.12.5

What is new?

Improvements

- better documentation for chroma sampling factors

Bugfixes

- `load()` does not update components that have been initialized on unloaded object

0.12.4

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

0.12.3

What is new?

Improvements

Bugfixes

- fixed bug with printing of Marker

0.12.2

What is new?

Improvements

- CStruct changed to CEnum
- parameterization of CEnum in function calls simplified

python
im = jpeglib.read_spatial('input.jpeg', jpeglib.JCS_GRAYSCALE)


Bugfixes

- DCT method bugfix

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.