Blazingly fast library for decoding and encoding QOI images
Project description
qoi-rs
Python library made using qoi and pyo3.
Usage
With Pillow
from PIL import Image
from qoi_rs import encode_pillow, decode_pillow
image: Image.Image = Image.open("./qoi_test_images/dice.png")
qoi_bytes: bytes = encode_pillow(image)
decoded: Image.Image = decode_pillow(qoi_bytes)
assert decoded.width == image.width
assert decoded.height == image.height
assert decoded.get_flattened_data() == image.get_flattened_data()
image.close()
decoded.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qoi_rs-4.0.4.tar.gz
(3.4 MB
view details)
Built Distributions
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
File details
Details for the file qoi_rs-4.0.4.tar.gz.
File metadata
- Download URL: qoi_rs-4.0.4.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccb2fa51e707816450430045ee1345146b32cd03125c8d73a57a4d6d1b87faba
|
|
| MD5 |
da795312b239ba26384cc909cdb5177e
|
|
| BLAKE2b-256 |
e1a3c7d351ab45676ca38065e3f0ca9707a073b0a6e53597e95aeb5dae4222e0
|
File details
Details for the file qoi_rs-4.0.4-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: qoi_rs-4.0.4-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13eaffcd65d22a3c17ea333b3724c318352fc1bf5d42732f2bf4082a9694c6d9
|
|
| MD5 |
493b914d841801775a92d3ca7472be45
|
|
| BLAKE2b-256 |
196df83496e61e73c047a0585079fed1e69d1affa914b6c1a695197c7ebc339c
|
File details
Details for the file qoi_rs-4.0.4-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: qoi_rs-4.0.4-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 942.3 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13bb0f4ec1a4626fdc06e775f0800bb31f7523960a9701f4af525480c22964db
|
|
| MD5 |
7e9eb2d9a159af9c50959dc35b3236b7
|
|
| BLAKE2b-256 |
fc5b810057b4b276a440790956e7d597d85ac7b1495676ed4be79c36fc401086
|