Skip to content

PyTurboJPEG 2.5.0

Latest

Choose a tag to compare

@lilohuang lilohuang released this 14 Jul 15:55

PyTurboJPEG 2.5.0 focuses on safety, correctness, and predictable performance.

  • Adds optional pixel, memory, and progressive-scan limits for untrusted JPEG input.
  • Adds YUV plane metadata, correct odd-size layouts, zeroed padding, and configurable alignment.
  • Correctly maps and validates TurboJPEG flags instead of silently ignoring unsupported values.
  • Hardens in-place buffers, native memory ownership, and lossless JPEG scaling.
  • Fixes 4:4:1 cropping, partial-edge crops, background filling, and quantization-table parsing.
  • Improves public input validation and error reporting across encoding and decoding APIs.
  • Adds performance regression benchmarks and broader Linux, macOS, and Windows CI coverage.
  • Requires Python 3.8+ and supports Python 3.8–3.14.

Full Changelog: v2.4.0...v2.5.0