Pyimg4

Latest version: v0.8.8

Safety actively analyzes 723650 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.3

Changes

- General changes:
- Rename `pyimg4.types.GIDKeyType` to `pyimg4.types.KeybagType`
- Add more type-hinting
- Added `pyimg4.PyIMG4Data.get_type()` for

- Examples:
- Added `im4p-to-img4` script
- Updated existing scripts for new API

- `pyimg4.IM4M`:
- Return `pyimg4.IM4M.apnonce`/`pyimg4.IM4M.sepnonce` attributes as hex strings
- Add `pyimg4.IM4M.__add__()` function for creating a `pyimg4.IMG4` object
- Add `pyimg4.IM4M.data` attribute for getting raw IM4M data

- `pyimg4.Keybag`:
- Allow manually specifying an IV/Key pair

- `pyimg4.IM4P`:
- Add `pyimg4.IM4P.create_img4()` for creating an IMG4 object
- Add `pyimg4.IM4P.__add__()` function for creating a `pyimg4.IMG4` object

- `pyimg4.IM4PData`:
- Add `pyimg4.IM4PData.compress()` for compressing data.

Full changelog: 1

0.2

API changes:
- `PyIMG4.raw_data` -> `PyIMG4.data`
- `IM4PData.decompress` (function) -> `IM4PData.decompressed` (property)
- IM4P: Fix creating IM4P
- Added [example scripts](https://github.com/m1stadev/PyIMG4/tree/v0.2/examples) showing off some of PyIMG4's features.

0.1

Initial release.

- Supports parsing of IMG4, IM4M, and IM4P files.
- Supports creation of IM4P files.
- Supports decryption of IM4P data (provided you have a valid decryption iv/key pair).
- Supports decompression of compressed IM4P data (LZFSE/LZSS only).

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.