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()
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.6.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.6.tar.gz.
File metadata
- Download URL: qoi_rs-4.0.6.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4356d778af92e47eb160b3e6aa632f56dc255a6e8c3f8a29e24f726ce8a1ae6f
|
|
| MD5 |
d8134ca8500e14f7662bc38e6969c188
|
|
| BLAKE2b-256 |
0fdbcaa470335419fdde4d93b882a3ed999e43f873eac7edc16d7badb6cb9a48
|
File details
Details for the file qoi_rs-4.0.6-cp312-abi3-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: qoi_rs-4.0.6-cp312-abi3-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.1 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.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1100f9594c8a2d97fde500640b96a7cef042430337502a7e600840add5ec3d00
|
|
| MD5 |
ddca27de756c4b49e39186a72fae4f70
|
|
| BLAKE2b-256 |
c71dc89e9445bd3ff3e171d01682867e4c4d4ff985b244299bab175cbfd61b35
|
File details
Details for the file qoi_rs-4.0.6-cp312-abi3-musllinux_1_1_aarch64.whl.
File metadata
- Download URL: qoi_rs-4.0.6-cp312-abi3-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 980.4 kB
- Tags: CPython 3.12+, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f64aa325324a180d4aa11ad5fd80dfaacae9896b63263f42264c2c6b24f6412
|
|
| MD5 |
d28048cc11d9c2b0d1f85a41e6440431
|
|
| BLAKE2b-256 |
00b2aa85d17e39ed6c7caf10198291c13c1bfdc30644e1eccfa2b18480ebb172
|
File details
Details for the file qoi_rs-4.0.6-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: qoi_rs-4.0.6-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 998.2 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.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a9772545d86ba5f207e590c5b5973f964735c719e5f01af28070cb89c832675
|
|
| MD5 |
92e3a0e47b9d233c6b45a3b60fb865f2
|
|
| BLAKE2b-256 |
77165bf3779aaae7d8bc6f83c3b29a51754e7da991590334960ba16a8a9524f7
|
File details
Details for the file qoi_rs-4.0.6-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: qoi_rs-4.0.6-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 935.4 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8ba8a7d74f73dc26ee6937fc151e929e5ed89ebe742522221b1989f9481d638
|
|
| MD5 |
18ea8d1c8951a0f7a92b33a492d39a66
|
|
| BLAKE2b-256 |
25c89281fcdd5d8215c7e9ffef1acbbce59136d6298a163cade37462e8605b69
|