Skip to content

A Python library/CLI tool for parsing Apple's Image4 format.

License

Notifications You must be signed in to change notification settings

m1stadev/PyIMG4

Repository files navigation

https://github.com/m1stadev/PyIMG4

PyIMG4


A Python library/CLI tool for parsing Apple's Image4 format.

Usage

Usage: pyimg4 [OPTIONS] COMMAND [ARGS]...

  A Python CLI tool for parsing Apple's Image4 format.

Options:
  --version  Show the version and exit.
  -h, --help     Show this message and exit.

Commands:
  im4m  Image4 manifest commands.
  im4p  Image4 payload commands.
  im4r  Image4 restore info commands.
  img4  Image4 commands.

Requirements

  • Python 3.8 or higher

Installation

  • Install from PyPI:
    • python3 -m pip install pyimg4
  • Local installation:
    • pip install --force-reinstall .

Notes

  • For compression, LZFSE compression utilizes the apple-compress library on *OS, and the lzfse library on all other OSes (due to libcompression not being available outside of Apple platforms).
    • If for some reason you'd like to force the lzfse library to be used on *OS (not recommended), you can set the environment variable PYIMG4_FORCE_LZFSE.

Support

For any questions/issues you have, open an issue.