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.4.tar.gz
(240.9 kB
view hashes)
Built Distributions
Close
Hashes for pillow_jxl_plugin-1.2.4-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee961f1e79886285e4eb1798677298f3c2767dd78af9af6c5c034c9cb9cbef3b |
|
MD5 | 44d3c2cf1e877e6de1d48767a538f25d |
|
BLAKE2b-256 | d5326db9bb1a68f014610fd181adba0ebbaac47ad01b9008cdba99189290fe2c |
Close
Hashes for pillow_jxl_plugin-1.2.4-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ca4399a02ebe1f3035bbc2701269df5898abc79e5ca15bc6054f0eb98db608 |
|
MD5 | 740e4d0d4f9e38396fe20cef840c1ff7 |
|
BLAKE2b-256 | 3a9c7b9594b6f8ed3d1f5f2dbc999c78c11e31a0adfa90557df51b7c3d6a4177 |
Close
Hashes for pillow_jxl_plugin-1.2.4-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfbdef490b935499968990a24d707082f7305cb102462ddbcf42c3caf9db1f46 |
|
MD5 | 007ec51ab52912f07c5d5bed5cd59a29 |
|
BLAKE2b-256 | 870e48dc5894b61fee6f14faec0c96449dc5a43a398d92a3898ae0d20f0de54f |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 920427bfbddfb2d1b9196a77402c346fd2b9a662f1f95fb01fdc8dd1884b6bb6 |
|
MD5 | 8d98b35073a112dbe42c3da3e22d85d7 |
|
BLAKE2b-256 | f21ddc005cb2757a7c885defc84437db392783a97b469e273c9ecdbe62df0e13 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b94c906eaae8141f9b5ea701ea41295c1be792f4771bd5d0c5c3db04da0faf |
|
MD5 | 74df6b71a6c150e3496e9fbbcc6f9597 |
|
BLAKE2b-256 | 68fce4f94630ec4845519249eca48e96c934cdfa3e410099689228a67cc47275 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1feaaabccd48af38dd4f82bcdea5097c3f2cd3e0fd91c12252c05971317d330d |
|
MD5 | b6c9395380905bf5e723b5887bc4c923 |
|
BLAKE2b-256 | bb205e120e8bb6ced6995de72f0f582c7c508c2ab1d5d40b488daa3d7df909ee |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp312-cp312-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e7364c31168a5e83f3e34772f5fcb6605ba06ff0ac360e7399683fca990e4f |
|
MD5 | d107284ffd7593af69618ae6d96be8d4 |
|
BLAKE2b-256 | 6c7066cb77b9ada7a65986840f4ec9bb4e3a7b499b623b4fb2d8bb6d7ba11c46 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3540d8a92abd4e53c78fd85e19bd2a7543e5a0506998ce31e1a9ad43fad8ac0b |
|
MD5 | 9bb0c8d5098529a01ddd50a21cb66440 |
|
BLAKE2b-256 | c5148dfcda8627cce893d528300f301ca982f85747b2c4372738e4bcc7a605a4 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3200969c8ca844aa2b3a7228113f324dd1bfdc47b2705f207e7f9aa9e359889a |
|
MD5 | 4e3da2c3e24c71bf25154d95c3be8bcb |
|
BLAKE2b-256 | 0fd75f79783f456763c0dd18a53f21899e13d23cae5a444767158ec12892679e |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc78121ddcc2c5a70235252e3c3c2258af1e1db5566b1d9250a585e64af5d08 |
|
MD5 | 943ac906861461de3680004a0ea9fff5 |
|
BLAKE2b-256 | 8b479caf947e1de70d52c0fcdb964f2a631e93d7c254d52b9a418bf029bed377 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91dfaf813029f18ac3d60d5831e182fce6002244a6a601c15c19a5b7af193106 |
|
MD5 | 71dc58a824a38249d9b7de47233244f6 |
|
BLAKE2b-256 | 040f5149388f937f2604246ca9ba626841141b3cb8e64ad415be05645f3fb551 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb92fd9feab61a1bc2f1386ab84e67d44a832e9d5367a89e77edd5c029f5c279 |
|
MD5 | 28a9d223cf031d006c2ee0fea96e4dfd |
|
BLAKE2b-256 | 7a13f21cbbf5c78188da307c14565b94a6e2550718fa93640695879c5ed970e9 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee117cc8331eaaaafdc2bab48f77faffdaa03cfd0782e86ba8bbda99f5898f97 |
|
MD5 | cff9f9e15ba89c02567af5372a473d2a |
|
BLAKE2b-256 | 0e5adb09aac5608500bd3425b124c76c4a74547c9e19c2d6883c2a87e07779fc |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6126f9b33acddcd2d16257feff265563ebe56007d0425974bb5b5d39ef1b2886 |
|
MD5 | ac892899369adb84d6c214960db5db06 |
|
BLAKE2b-256 | bfdd453d730ec7f3126059dd03181fbe819b9f946a34a83b3a52dba10b9c928f |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26c4f445895ad4d1375fcf502b363b0a48cef9ea69b46532599aff07aa0a9f85 |
|
MD5 | 80588e8e1faf2ba8cf298a127e25d30d |
|
BLAKE2b-256 | e87caafbd04b57ef1ad2fd35a4c9822149c9b2a2d39f569113add092dca807d3 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab88c4580fa4ade3faac82435ded42b6ee4b53ddfc05497f80789d8ee88f050 |
|
MD5 | 8e4a8077351ab7d620ffff7dd5ab8b7a |
|
BLAKE2b-256 | df20320065abd6c579dc1951f332f29cb622724e01deca4e2890aa0eca566508 |
Close
Hashes for pillow_jxl_plugin-1.2.4-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a27c698eb9776c9ad822b3ebe08816d0592fd7b28c2b8793a45e41ca6b49fd |
|
MD5 | 4448d0ec91e9003dac60a4431f0bddc9 |
|
BLAKE2b-256 | f1822fcc897f90e76994baac6b98d6eea4d0d1e9548ac6a1f5225d97e921e832 |