| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
for more information, see https://pre-commit.ci
|
May you please commit the images as LFS? |
Sorry, something went wrong.
|
Do you mean those .jxl files under Tests/images I've committed? I'm not really sure how to do that. |
Sorry, something went wrong.
|
The explanation is outlined here: https://docs.github.com/en/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage They already setup lfs and they only use for other larger stuff. Let it stay as you did. |
Sorry, something went wrong.
Removed jxl feature
for more information, see https://pre-commit.ci
|
Mac OS builds were failing because clang complained about goto labels being declared before variables in scope. |
Sorry, something went wrong.
|
How much bigger does this make the wheels? We need to keep in mind increased wheel size effects everyone, even if they don't use JXL (not the case with opt-in plugins). When we added AVIF, we initially had problems with the wheels being too big: #8856 |
Sorry, something went wrong.
|
It does increase the size significantly. The current total size of our wheels is 531.5mb. In this PR, it is 730.2mb. |
Sorry, something went wrong.
This seems like too much. I know we have fewer wheels right now, but it will soon increase for 3.15+3.15t, and a ~37% increase is a lot. And it will be paid by everyone, including those not using JPEG XL. I think we should consider some of the suggestions I made at #9101 (comment). |
Sorry, something went wrong.
I think that's a very worthwhile initiative, though IMO that should be pursued independently; IOW, I wouldn't like to see jpegxl support held up over this. |
Sorry, something went wrong.
We can try to decide on and implement some alternative to "including in the wheel" prior to the next release. |
Sorry, something went wrong.
The thing is, the current size increase is a blocker for me. |
Sorry, something went wrong.
|
We've added some tooling (#9621) to show the size increase of wheels compared to the last release. This PR makes the total wheel size 46.83% bigger, with some individual wheels 89% bigger. Dist size comparison vs Pillow 12.2.0 on PyPI
https://github.com/python-pillow/Pillow/actions/runs/25698618068/attempts/3#summary-75485821427 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Helps #4247
This PR enables opening and reading JPEG XL images and animations.
Supported image modes are: RGB, RGBA, RGBa, L, LA, La.
A relatively recent libjxl version is needed to compile Pillow with libjxl support.
The main changes are the addition of _jxl.c and JxlImagePlugin.py.
I'm also the author of jxlpy so this PR was influenced by the work of contributors there. This PR is also largely based on WebPImagePlugin.py which had similar implementation.
Why?
JPEG XL has recently seen increased adoption especially in Apple ecosystem. A lot of users are requesting Pillow support for JPEG XL as their products use Pillow and need to be able to handle jxl files.
I'm open to suggestions and comments. I understand such change would need a lot of testing and probably changes. After all Pillow would need to become somewhat dependent on libjxl. Creating documentation will not be a big problem however I decided to wait for feedback from Pillow core developers.