- The type of
DecompressedJpeg.markers
is changed toList[bytes]
fromList[str]
. From now on, decoding the markers is up to users.
DecompressedJpeg
supports both reading and writing some internal variables of JPEG file format.- The core of
DecompressedJpeg
has been changed tojstruct
andmat2D
in C++, which are adopted from Fridrich's lab., and partly modified for Python wrapping. ZigZagDct1d
is removed and will be updated again in the future.- A test case for reading StegoAppDB JPEG files has added.
- The type of
DecompressedJpeg.quant_tables
is changed to list fromnumpy.ndarray
.
DecompressedJpeg
supports only reading JPEG files, not writing.DecompressedJpeg
depends on the functionality of libjpeg (linux and macos) or libjpeg-turbo (windows).ZigZagDct1d
efficiently reads DCT coefficients in the zig-zag way and presents it asnumpy.ndarray
.