Problem statement
I am creating an archival system for artists. I am strongly encouraging the use of JXL files for upload as a means of getting archival quality at low file sizes.
I have managed to get support for this format working, but it took some hoops.
- Re-registering JXL with filetype (no idea why, as it is included, but I had to do it anyway).
- monkey-patch get_accept_attributes for the file-picker
- monkey-patch Image.open
- monkey-patch PillowImage init, format_name and mime_type
This is probably a terrible way of getting there.
Proposed solution
Enable this in core Willow, checking for the (current) dependency on pillow_jxl which would likely be many fewer lines of code in implementation.
JXL is hopefully making its way to the web (again), but for now it is useful as an upload format.
Alternative solutions
No response
Additional context
No response
Working on this
Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.
Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.
Problem statement
I am creating an archival system for artists. I am strongly encouraging the use of JXL files for upload as a means of getting archival quality at low file sizes.
I have managed to get support for this format working, but it took some hoops.
This is probably a terrible way of getting there.
Proposed solution
Enable this in core Willow, checking for the (current) dependency on pillow_jxl which would likely be many fewer lines of code in implementation.
JXL is hopefully making its way to the web (again), but for now it is useful as an upload format.
Alternative solutions
No response
Additional context
No response
Working on this
Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.
Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.