PyIMG4 0.6.3
Pre-release
Pre-release
This update only has bugfixes and slight API changes.
Major Changes
- Fix support for some IM4Ps that would be invalid when outputting via
IM4P.output()
- In
IM4PData
, if you have a payload that is both LZFSE-compressed and encrypted (These are commonly used in bootloader images for A11 and above devices), you now must set the uncompressed size of the payload usingIM4PData.set_lzfse_payload_size()
, or else the IM4P will be invalid when outputting. If you are passing an IM4P to theIM4P
class, it will automatically do it for you.
- In
API Changes
pyimg4.Compression
- Add
Compression.LZFSE_ENCRYPTED
for encrypted + LZFSE-compressed payloads - Removed
Compression.UNKNOWN
- This enum was only used for detecting encrypted payloads. You should now transition over to using the
IM4PData.encrypted
property for detecting whether a payload is encrypted.
- This enum was only used for detecting encrypted payloads. You should now transition over to using the
- Add
Full Changelog: v0.6.2...v0.6.3