Recent Releases of jpeglib
jpeglib - 0.14.0
What is new?
- extended flags for mozjpeg
- TRELLIS_QUANT
- TRELLISQUANTDC
- TRELLISQOPT
- USESCANSIN_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()
- C
Published by martinbenes1996 over 2 years ago
jpeglib - 0.13.0
What is new?
(compared to 0.12.0)
- Integrated operations with Huffman table
python
jpeg = jpeglib.read_dct('cover.jpeg')
jpeg.huffmans
Removed unrolling of quantization table, standard JPEG has now 2 QTs
Added mozjpeg flags
python
im.write_spatial('out.jpeg', flags=['+TRELLIS_QUANT', '+TRELLIS_QUANT_DC'])
(compared to 0.12.1+)
- Integrated operations with scan script and progressive JPEG
python
im = jpeglib.read_spatial('cover.jpeg', buffered=True)
im.scans
- unittests on Windows separated from Linux
Improvements
CStructclasses are nowenums
python
im = jpeglib.read_spatial("cover.jpeg", jpeglib.Colorspace.JCS_YCbCr)
- The enum values are also added to the global level
python
im = jpeglib.read_spatial("cover.jpeg", jpeglib.JCS_YCbCr)
dct_methodanddither_modeare now parameters of writing, and not internal parameters- added
comp_infointoDCTJPEGioenvelope with JPEG metadata
Bugfixes
- Fixed
from_spatialdtype 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
- C
Published by martinbenes1996 almost 3 years ago
jpeglib - 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
- C
Published by martinbenes1996 over 3 years ago
jpeglib - 0.12.0
What is new?
(compared to 0.11.0)
- Added
J:a:bsampling factor notation.
python
im = jpeglib.from_spatial(x)
im.samp_factor = "4:4:4"
im.write_spatial("output.jpeg")
- Added deep copy for compatibility with numpy array. It makes it easier to use the object in steganography.
python
cover = jpeglib.read_dct(‘cover.jpeg’)
stego = cover.copy() # deep copy of cover
stego.Y[0,0,0,1] += 1
stego.write_dct(‘stego.jpeg’)
- added libjpeg-turbo versions 1.2.0 - 2.0.0 and mozjpeg 1.0.1, 2.0.1 and 3.0.0
- building on Windows
(compared to 0.11.1+)
- Features
jpeglib.opsandjpeglib.Timerremoved, did not fit into the package, moved to imageops - solved the version problems in requirements.
numbaremoved from package requirements
Improvements
- Changed order of coefficients inside block to match other implementations (Matlab, jpegio). Now, it is [numverticalblocks, numhorizontalblocks, verticalblocksize, horizontalblocksize]
- All errors raised in libjpeg are now caught and passed as a C++/Python exception (#3 ).
- Better unittest coverage. Unit tests are executed both on Linux and on Windows.
pathlib.Pathis now accepted as input path- Preparation for operations over Huffman table. Not yet fully functional in the release.
Bugfixes
- Fixed writing DCT coefficients with different than 4:2:2 chroma subsampling
- Fixed dynamic library binding for Windows (#5 ).
- limit for marker segments raised
- full inference of colorspaces and sampling factors in
from_dct - various other fixes
- C
Published by martinbenes1996 over 3 years ago
jpeglib - 0.11.7
What is new?
- Added
J:a:bsampling factor notation.
python
im = jpeglib.from_spatial(x)
im.samp_factor = "4:4:4"
im.write_spatial("output.jpeg")
Improvements
Bugfixes
- Fixed order of coefficients inside block to match other implementations (Matlab, jpegio)
- C
Published by martinbenes1996 over 3 years ago
jpeglib - 0.11.4
What is new?
- Unit tests are executed both on Linux and on Windows.
- Many more unittests added, getting ready for the production release.
Improvements
- All errors raised in libjpeg are now caught and passed as a C++/Python exception (#3 ).
Bugfixes
- Fixed dynamic library binding for Windows (#5 ).
- C
Published by martinbenes1996 over 3 years ago
jpeglib - 0.11.2
What is new?
- added libjpeg-turbo versions 1.2.0 - 2.0.0
- ops module with DCT, blockification, etc.
- introduced numba as a dependency
Improvements
- DCT is now numba-accelerated and can work on jpeglib outputs
Bugfixes
- inference of grayscale colorspace, when only luminance is passed to
from_dct - fixed blorch's test dependency installation
- C
Published by martinbenes1996 almost 4 years ago