PyIMG4 0.8
Pre-release
Pre-release
Major Changes
- The minimum required Python version is now 3.8.
- The compresison libraries are now an optional install for those who wish to install PyIMG4 without a build system.
- A
RuntimeError
will be raised if you attempt to use any compression functionality without the required libraries installed. - To install these dependencies, you can use the
compression
extra:python3 -m pip install pyimg4[compression]
- A
- The
pyimg4.IM4M
class is now much less restrictive, to aid in IM4M fuzzing (more on the changes below). pyimg4.IM4R.boot_nonce
now prints the boot nonce in the correct endianness.- Other miscellaneous fixes.
API Changes
-
pyimg4.ManifestProperty
- Can now be called with a fourcc/value pair.
-
pyimg4.ManifestImageProperties
- Can now be called without any data.
-
pyimg4.IM4M
- Can now be called without any data.
- Added
IM4M.output()
- Added
IM4M.add_image_properties()
/IM4M.remove_image_properties()
- Added
IM4M.add_property()
/IM4M.remove_property()
-
pyimg4.Keybag
- A
KeybagType
is now only required when calling with a key/IV pair.
- A
Full Changelog: v0.7...v0.8