Releases: martinbenes1996/jpeglib
Releases · martinbenes1996/jpeglib
1.0.1
1.0.0
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
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
What is new?
Improvements
- added documentation for
Huffman
andScript
- extended documentation glossary for
samp_factor
Bugfixes
0.13.0
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 nowenum
s
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
anddither_mode
are now parameters of writing, and not internal parameters- added
comp_info
intoDCTJPEGio
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
What is new?
- added
ComponentInfo
class to even closer emulate the interface ofjpegio
Improvements
Bugfixes
0.12.7
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)
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)