Skip to content

PyIMG4 0.6.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@m1stadev m1stadev released this 25 Oct 18:38
· 119 commits to master since this release
9d061b3

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 using IM4PData.set_lzfse_payload_size(), or else the IM4P will be invalid when outputting. If you are passing an IM4P to the IM4P class, it will automatically do it for you.

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.

Full Changelog: v0.6.2...v0.6.3