semvec/pypi-packages huggingface dataset:
pyicer 0.1.3
Python wrapper for libicer
License: MIT
Requires Python: >=3.7

# 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')
```