No project description provided
Project description
pillow-jpegxl-plugin
Pillow plugin for JPEG-XL, using Rust for bindings.
Features
- JPEG-XL Plugin for Pillow
- Encoder/Decoder to work with JPEG-XL using safe wrapper
- Support EXIF metadata encoding
Install via PIP
pip install pillow-jxl-plugin
Build from source
Make sure Rust
and maturin installed, then run:
git clone https://github.com/Isotr0py/pillow-jpegxl-plugin
cd pillow-jpegxl-plugin
maturin build --release --features vendored
If you have libjxl
installed and want to use dynamic link, run:
maturin build --release --features dynamic
Plugin Usage
Use import pillow_jxl
to register the plugin in your code.
Example:
import pillow_jxl
from PIL import Image
# Lossless encode a png image
with Image.open("example.png") as img:
img.save("example.jxl",lossless=True)
# encode image with JPEG-Style quality
with Image.open("example.png") as img:
img.save("example.jxl", quality=98)
# Lossless construct from a jpeg image
with Image.open("example.jpg") as img:
img.save("example.jxl",lossless=True)
# Decode jxl image
with Image.open("example.jxl") as img:
display(img)
Wheels status
Wheels | Windows 64-bit | MacOS | manylinux |
---|---|---|---|
CPython3.8 | ✔ | ✔ | ✔ |
CPython3.9 | ✔ | ✔ | ✔ |
CPython3.10 | ✔ | ✔ | ✔ |
CPython3.11 | ✔ | ✔ | ✔ |
CPython3.12 | ✔ | ✔ | ✔ |
CPython3.13 | ❌ | ❌ | ✔ |
PyPy3.8 | ❌ | ❌ | ✔ |
PyPy3.9 | ❌ | ❌ | ✔ |
PyPy3.10 | ❌ | ❌ | ✔ |
Credits
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
pillow_jxl_plugin-1.2.2.tar.gz
(13.5 kB
view hashes)
Built Distributions
Close
Hashes for pillow_jxl_plugin-1.2.2-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1b6034aca6db5c96d2df412ea62d80d09e2ff32ca80175841baf8dbd16a8e8 |
|
MD5 | f29ad8cd50c12225bda21c94ab5a3b6d |
|
BLAKE2b-256 | dcdfd172ff774e3f716f547b0af267bf85633f85d6a25c7d0dd05dc8b2c42f2f |
Close
Hashes for pillow_jxl_plugin-1.2.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517a6fb5e87e97f4b13c07b24d60e2ebc7f98c906c84f1fe7b1cee0a64e44a72 |
|
MD5 | 8bbe38a345748fb40a1bdd82bad771a8 |
|
BLAKE2b-256 | 835eb375811f0beeac5e25ace89b9b150f62e91260ca457d1f33ce8cea91a6d4 |
Close
Hashes for pillow_jxl_plugin-1.2.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6676124a0db31a8d17424e68c4ac7fecebb757a06f189dfc6d2544489a0482 |
|
MD5 | bdc9b14ee91057a2b9f7ca151afb76f6 |
|
BLAKE2b-256 | aac5fe5ef8a88295ebd5d71106200ec6aa99a328969eb24443b6ba3423c6f0bc |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1da606d34ea386cfc2c35d05249e2a8f6d7241f7bf9c827c6198cb24d077e22 |
|
MD5 | 3f16684b10ec47ce5e57c8440c22708a |
|
BLAKE2b-256 | f1701c94f3568d3818fd1775a82f26f5b05db421337c23737f15d7bcfc6311be |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aa6a814fbbd33d828e2fc947a25db40137857639799395f1628a55df9aa1851 |
|
MD5 | 323ead6040644678a8c025fb91e57cea |
|
BLAKE2b-256 | 8431a09c3a966d5b20c3e573632fc3d3f8497fa614007f81bac8368ce95e30f2 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84ba3b3ade9b336de391474c0b40fad281828bed4e816a677b8c6b7faab8e553 |
|
MD5 | c956bc171a664c2fde47926e199d5f2e |
|
BLAKE2b-256 | 6e394b7f9c1a5ffc4427a66610be9f958859fc28ff5d51caedc72e13d7ed7c71 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp312-cp312-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ab6c1f780baa9eebd88f64e972b1b3950e164aa0cb6b0d7b508625045503249 |
|
MD5 | e9c7cba6b633b0729fbe34f76786aafe |
|
BLAKE2b-256 | 31aa6e9e4d757a56efa88ca9b79f0eb3a36979c8ae053c7348313a08d374433f |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9977aa19d79f0740af50db886e61f9d39cc5fbdb112f64c18e2f314931f8cf50 |
|
MD5 | caa64b261fd9a263f0c195d8efc23358 |
|
BLAKE2b-256 | 99a20e91cc7968c39cb80025696daf4feb849eba425f69dd58d5619daacee6cc |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3939ad70e0196add2edd1e9e33afb7637bc64e34ee3439b7e23e0ffe6dc51a9a |
|
MD5 | e1d62b55208f49f29b55c44e0088400d |
|
BLAKE2b-256 | 179688aefdeccea13a3aca2bc4954f9181fde05de31f0a4f3ab40f8bd4b55f68 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170169deca282fd08747cddb642836952ef6c7ff225a663b75df6b4f8ebb69ec |
|
MD5 | 542db685ac2ca73d9b1988e47704c962 |
|
BLAKE2b-256 | 7d4c1326a900f71472dab11d7cf9fa4b2d8d530b4673d737c76b5f06e6f60ffb |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d2a817949c9170dd5d81d47d70ef07988cd768a5b1e8fe105409cc3dc0abfb9 |
|
MD5 | 8896c25e5bbe606bda5e92bf33b29cf0 |
|
BLAKE2b-256 | 6ec50cfac2c4c2ed1b647672ceb23a0789a9cb9f03ac4f742b83fdbe83e129a1 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6117142f5b87b45b120eace3d889d56c07d3a8190e362734f8deaf8d07f81d60 |
|
MD5 | ecd47e12b182cb2bb9b2c503f0a18197 |
|
BLAKE2b-256 | 41f360cba46e6a9cfb8c435b59e992f46bec7d3ee23c9f9279f7ef3847dc0e4b |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d447e8aed343c6809f23fce23310fba1bb6e8f14f1d5373c56584bf2270e877d |
|
MD5 | d5585d9f1c5aeb7d5ca01cfc0dbf48ab |
|
BLAKE2b-256 | d282848f3a420da3272baab6cc9925b3813d72db963a53c88904f720ff52a430 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48c2b796a8839b7ea15b1187f1c6fb8384a820ea29a53659d4b5fa4adb503fc4 |
|
MD5 | ea4dc68ce9b6a64d235768ff21c4edc2 |
|
BLAKE2b-256 | 2e86869d80571ebafb5eda9e1ba6e95f3740bcaea507909eb72697bb265605a5 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1b8d969c3bdc1c483eeabe45cb0005cf6ba23ffe8a4bc89fcb066b437ba0da |
|
MD5 | 835ce965278a08f27e401dbcbdecb75b |
|
BLAKE2b-256 | 617d439668883b12422f63dc24597d21a28301b0c5d58896b8b790ee3f7ecb3f |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca7ef4baa5165b4e6b7d0f2403b5e977d66d679276a046bedbcd8c335981da8 |
|
MD5 | bb6e60276e3874b650c7a01e146093af |
|
BLAKE2b-256 | 989fcbd1c45bd388eb536a004e0e75cacd20f03e572151adaed68ac4efadd15b |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed663561350ad376466d0b89a0496fb1ffc4b8cf74f73237b37879813b17c87 |
|
MD5 | ef998eb3e230b75331c8734f647acca4 |
|
BLAKE2b-256 | a3d22891d7109e9501f4256887b01359a3d18bb5996b9acc0aa6c57055f565f0 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6512f0e3dbda128543ce659fc619049314e3d5de9125a9f140c3287f0cc37b7 |
|
MD5 | 46ef279b035120fbf3fdc5547e4ac24e |
|
BLAKE2b-256 | 4db6ea03e1e132461dbb8e0d781963296c21c46d2afa42eb960a8af664a95dbc |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc136764a1302e7c60dea9a59360772fb4be929718b3afc0778b5d59a6e3b83 |
|
MD5 | 48d7e75ffe5c45918fa80cf9041b9a09 |
|
BLAKE2b-256 | eb29b7ad5d56589db47d623b46f5d5142cecc6543747e55403e50e698f5438fe |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7151bbdb6593efd2a3851b6628aa4366a702b81ea33af42a7bfac4412cabf867 |
|
MD5 | d0f73fd21babf24ad11ec1d5bff890f3 |
|
BLAKE2b-256 | 246c9809650da6e85d9242a932042de88bc5c67611f871ce19c82d60a081578b |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4236f6625e1bbdbdf1184e43a61af1399ca71e5cb9ece66ec83a4ff30ddf961e |
|
MD5 | 6da5bc3dd3b206775b1d27c7c6b06c49 |
|
BLAKE2b-256 | 17c337818880245d5d2f333e7cf0313a16ef74cffbdc82446734d6c7908b1310 |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec6595d1deae9c6f3a42a97872a070bc79c39e8cb69aff71683bd13df1e0435 |
|
MD5 | 562fe738910fca64585a4327fd1a5129 |
|
BLAKE2b-256 | 752c4ddfdd81464e5bd21105b1727e4342dbbf1b18092135275f3bb22b7938dd |
Close
Hashes for pillow_jxl_plugin-1.2.2-cp38-cp38-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 415a3d124233f9ff247aefe8929dba4fdefab96151dbed9918a41c97e9b61c94 |
|
MD5 | e9c38b3d11d3f35ecc531502ab4ce962 |
|
BLAKE2b-256 | 30e4ab8135c14b2e1e417d76d8551811e4dc148df1e84160a00406bb51bdf8bd |