Metadata-Version: 2.2
Name: imrw
Version: 0.1.3
Summary: Minimal image I/O library wrapping Pillow and numpy.
Author: phykn
License: MIT
Project-URL: Homepage, https://github.com/phykn/imrw
Project-URL: Repository, https://github.com/phykn/imrw
Project-URL: Issues, https://github.com/phykn/imrw/issues
Keywords: image,imread,imwrite,pillow,numpy
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pillow

# imrw
Minimal image I/O library for Python.

## Features
- Read/Write images via `Pillow` & `numpy`.
- Clean and simple interface.
- `imread` always converts images to RGB and returns a `uint8` numpy array with shape `H x W x 3`, regardless of the source format (grayscale, RGBA, CMYK, palette, etc.).
- `imwrite` accepts a `uint8` array with shape `H x W`, `H x W x 1`, `H x W x 3`, or `H x W x 4` and always saves as RGB.

## Quick Start
```bash
pip install imrw
```

```python
from imrw import imread, imwrite

image = imread("input.png")
imwrite("output.png", image)
```
