Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Pillow plugin for JPEG-XL, using Rust for bindings.
pip install pillow-jxl-plugin
Make sure Rust
installed, then run:
git clone https://github.com/Isotr0py/pillow-jpegxl-plugin
cd pillow-jpegxl-plugin
pip install -e .[dev] -v
If you have libjxl
installed and want to use dynamic link, run:
pip install -e .[dev] -v --config-settings=build-args="--features=dynamic"
Use import pillow_jxl
to register the plugin in your code.
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 | Windows 64-bit | MacOS | manylinux | musllinux |
---|---|---|---|---|
CPython3.9 | ✔ | ✔ | ✔ | ✔ |
CPython3.10 | ✔ | ✔ | ✔ | ✔ |
CPython3.11 | ✔ | ✔ | ✔ | ✔ |
CPython3.12 | ✔ | ✔ | ✔ | ✔ |
CPython3.13 | ✔ | ✔ | ✔ | ✔ |
PyPy3.9 | ✔ | ✔ | ✔ | ✔ |
PyPy3.10 | ✔ | ✔ | ✔ | ✔ |
FAQs
Pillow plugin for JPEG-XL, using Rust for bindings.
We found that pillow-jxl-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.