Metadata-Version: 2.1
Name: pyicer
Version: 0.1.2
Summary: Python wrapper for libicer
Home-page: https://github.com/baskiton/pyicer
Author: Alexander Baskikh
Author-email: baskiton@gmail.com
License: MIT
Project-URL: Source, https://github.com/baskiton/pyicer
Project-URL: Bug Tracker, https://github.com/baskiton/pyicer/issues
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy

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