https://github.com/baskiton/pyicer
Simple decompress ICER-image using libicer
https://github.com/baskiton/pyicer
Last synced: 10 months ago
JSON representation
Simple decompress ICER-image using libicer
- Host: GitHub
- URL: https://github.com/baskiton/pyicer
- Owner: baskiton
- License: mit
- Created: 2025-08-09T07:35:15.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-10T10:19:16.000Z (10 months ago)
- Last Synced: 2025-08-10T10:45:26.732Z (10 months ago)
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyicer
Simple decompress ICER-image using libicer
### build
Please note that submodule code is used
```commandline
git clone --recurse-submodules https://github.com/baskiton/pyicer.git
```
## Example
```python
from PIL import Image
import pyicer
fn = 'image.icer'
data = open(fn, 'rb').read()
rgb = pyicer.decompress(data, stages=4, segments=1, filter='A', color=1)
img = Image.fromarray(rgb)
img.save('image.png')
```