Minimal image I/O library wrapping Pillow and numpy.
Project description
imrw
Minimal image I/O library for Python.
Features
- Read/Write images via
Pillow&numpy. - Clean and simple interface.
imreaduses Pillow's RGB conversion and returns auint8numpy array with shapeH x W x 3, regardless of the source format (grayscale, RGBA, CMYK, palette, etc.).imwriteaccepts auint8array with shapeH x W,H x W x 1,H x W x 3, orH x W x 4and always saves as RGB.
Quick Start
pip install imrw
from imrw import imread, imwrite
image = imread("input.png")
imwrite("output.png", image)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imrw-0.1.5.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
imrw-0.1.5-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file imrw-0.1.5.tar.gz.
File metadata
- Download URL: imrw-0.1.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6546b32a3d598f0b1890bd3c93e6b5077e0c074f1064a44195231380a99c72e
|
|
| MD5 |
51cdf6c4f24f3bc634e75191dd8a73bd
|
|
| BLAKE2b-256 |
a19289dc78aca3e5cf38a2502e094d25c983d3ff14a1641c968fc01c645650c4
|
File details
Details for the file imrw-0.1.5-py3-none-any.whl.
File metadata
- Download URL: imrw-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed63b17417eb1bd135b31121dc51c8d9d7f2dad5be786da4db466ed03a310252
|
|
| MD5 |
599ea9591434c75c8cd3df05c10f56fd
|
|
| BLAKE2b-256 |
1728d3b709e377005f74af305e8756684b3de2066a55c26109a1ddd580f98b75
|