Metadata-Version: 2.1
Name: dithering
Version: 0.1.15
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

## Dithering 
### Overview
Welcome to Dithering, a project that brings efficient Rust implementation of various image dithering methods to be used in Python!

### Installation
```
pip install dithering
```

### Usage
```python
from PIL import Image
from dithering import ordered_dither
import numpy as np

input_image = np.array(Image.open('path/to/image.jpeg').convert('L'))

dither_matrix = np.array([[0, 128], [192, 64]], dtype=np.uint8)

output = ordered_dither(input_image, dither_matrix)


```

