Skip to content

Releases: martinbenes1996/jpeglib

1.0.1

10 Sep 08:36
Compare
Choose a tag to compare

What is new?

  • Added libjpeg 9f.

Improvements

Bugfixes

  • Fixed source distribution by improving the manifest.

1.0.0

22 Nov 10:26
Compare
Choose a tag to compare

What is new?

  • The first release that is labelled production/stable!
  • Functionally the same as 0.14.0.

Improvements

  • Replaced copyright statement, and file docstrings.

Bugfixes

0.14.0

21 Nov 15:46
Compare
Choose a tag to compare

What is new?

  • extended flags for mozjpeg
    • TRELLIS_QUANT
    • TRELLIS_QUANT_DC
    • TRELLIS_Q_OPT
    • USE_SCANS_IN_TRELLIS
    • OVERSHOOT_DERINGING
  • added support for Cygwin/Windows
  • jpeglib.from_dct() now accepts integer QF

Improvements

  • documentation improved (factor table, FAQs)
  • added version-specific unit-test runs to some tests
  • extended internal interface to be able to further add new flags

Bugfixes

  • fixed J : a : b notation implementation, Jab_to_factors()

0.13.1

01 Sep 13:41
Compare
Choose a tag to compare

What is new?

Improvements

  • added documentation for Huffman and Script
  • extended documentation glossary for samp_factor

Bugfixes

0.13.0

11 Aug 14:40
Compare
Choose a tag to compare

What is new?

(compared to 0.12.0)

  • Integrated operations with Huffman table
jpeg = jpeglib.read_dct('cover.jpeg')
jpeg.huffmans
  • Removed unrolling of quantization table, standard JPEG has now 2 QTs

  • Added mozjpeg flags

im.write_spatial('out.jpeg', flags=['+TRELLIS_QUANT', '+TRELLIS_QUANT_DC'])

(compared to 0.12.1+)

  • Integrated operations with scan script and progressive JPEG
im = jpeglib.read_spatial('cover.jpeg', buffered=True)
im.scans
  • unittests on Windows separated from Linux

Improvements

  • CStruct classes are now enums
im = jpeglib.read_spatial("cover.jpeg", jpeglib.Colorspace.JCS_YCbCr)
  • The enum values are also added to the global level
im = jpeglib.read_spatial("cover.jpeg", jpeglib.JCS_YCbCr)
  • dct_method and dither_mode are now parameters of writing, and not internal parameters
  • added comp_info into DCTJPEGio envelope with JPEG metadata

Bugfixes

  • Fixed from_spatial dtype conversion
  • Fixed custom QT sigsegv occurring in libjpeg 9d+
  • Fixed inference of grayscale JPEG quant_tbl_no
  • Fixed inference of sampling factor (incorrect rounding)
  • Sanitized invalid QF values, clipping and warning now

0.12.8

26 Jun 13:27
Compare
Choose a tag to compare

What is new?

  • added ComponentInfo class to even closer emulate the interface of jpegio

Improvements

Bugfixes

0.12.7

04 Jun 07:21
Compare
Choose a tag to compare

What is new?

Improvements

Bugfixes

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

0.12.6

20 Apr 09:59
Compare
Choose a tag to compare

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

17 Apr 12:55
Compare
Choose a tag to compare

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

30 Mar 09:56
Compare
Choose a tag to compare

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