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
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.5.tar.gz.
File metadata
- Download URL: qoi_rs-4.0.5.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 |
5f8d44bf5cea90ba9f60fdb739f0221f6e0ddfda09c56dcf87d30616561b43ca
|
|
| MD5 |
8ef5c820049da397ca9942055520bb51
|
|
| BLAKE2b-256 |
371e6fd414d7ffbf8dcf23918b373116dd65cc9776d6a562330a1030954eb8e0
|
File details
Details for the file qoi_rs-4.0.5-cp312-abi3-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: qoi_rs-4.0.5-cp312-abi3-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.12+, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a292976c465585ab57b584f5328de5537897dacfa9abd5ab7e76605caee6276
|
|
| MD5 |
2f7a036b5df444d6e361b9502e3ca7f9
|
|
| BLAKE2b-256 |
0cb9302a5a6a6b782af3788265de51f68ca69cccf4a16344908ff23b3d91ed74
|
File details
Details for the file qoi_rs-4.0.5-cp312-abi3-musllinux_1_1_aarch64.whl.
File metadata
- Download URL: qoi_rs-4.0.5-cp312-abi3-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 965.2 kB
- Tags: CPython 3.12+, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca11f193ed9cc4bcd4a72df0befccbcc697736ac6b990b50c1e15a489d2061a3
|
|
| MD5 |
14abb8d63341c2cd7eee03c657b21419
|
|
| BLAKE2b-256 |
f619b929ae6665ea8d5eedf5ac3900f31e5fd9e1b2df71ec064edf1acfa09e39
|
File details
Details for the file qoi_rs-4.0.5-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: qoi_rs-4.0.5-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 998.3 kB
- 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 |
8a9021a779e261b370bdfa5b9b2fb4c1bccdcd2e67ea7f27170cf58c6cc0be4e
|
|
| MD5 |
aba0d59c82037df24294a4c3d29b3960
|
|
| BLAKE2b-256 |
f12f604cbbe966c2490b74e99ef393af7dd4f769989cc6ff49004d7ca71bc5df
|
File details
Details for the file qoi_rs-4.0.5-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: qoi_rs-4.0.5-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 932.0 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 |
6b198238856dd1214ed6b3e8cdbdb0969aeb23cbb0ca1dd8a5e2239300795530
|
|
| MD5 |
720ab68812d94f0832b84a7b5498ff3c
|
|
| BLAKE2b-256 |
a8328eb1c38a71fcf201965c0ede0af17a695e32bac32e00e692f7fff0e9f1c4
|