Skip to main content

imrw

Minimal image I/O library for Python.

Features

  • Read/Write images via Pillow & numpy.
  • Clean and simple interface.
  • imread uses Pillow's RGB conversion 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

pip install imrw
from imrw import imread, imwrite

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

Metadata

Release files for imrw 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imrw 0.1.5
File Size Uploaded Provenance Actions
imrw-0.1.5.tar.gz 3.7 kB Without provenance Details for imrw-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imrw 0.1.5
File Interpreter ABI Platform Actions
imrw-0.1.5-py3-none-any.whl Python 3 none any Details for imrw-0.1.5-py3-none-any.whl

Total release size: 6.8 kB

Release files / imrw-0.1.5.tar.gz

Download URL imrw-0.1.5.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a6546b32a3d598f0b1890bd3c93e6b5077e0c074f1064a44195231380a99c72e
BLAKE2b-256 checksum
How to use checksums
a19289dc78aca3e5cf38a2502e094d25c983d3ff14a1641c968fc01c645650c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / imrw-0.1.5-py3-none-any.whl

Download URL imrw-0.1.5-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed63b17417eb1bd135b31121dc51c8d9d7f2dad5be786da4db466ed03a310252
BLAKE2b-256 checksum
How to use checksums
1728d3b709e377005f74af305e8756684b3de2066a55c26109a1ddd580f98b75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for imrw 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page