Support JPEG XL #188

Open
opened 2023-12-30 04:13:31 +00:00 by Ghost · 1 comment

img2pdf *.jxl out.pdf currently returns

error: cannot read input image (not jpeg2000). PIL: error reading image: cannot identify image file <_io.BytesIO object at 0x7f88c18b0310>

Read more about JPEG XL: https://jpegxl.info/

`img2pdf *.jxl out.pdf` currently returns ``` error: cannot read input image (not jpeg2000). PIL: error reading image: cannot identify image file <_io.BytesIO object at 0x7f88c18b0310> ``` Read more about JPEG XL: https://jpegxl.info/
Owner

img2pdf uses Pillow as an imaging library. Once PIL understands jpeg xl, img2pdf will automatically support it as well. So your request for jpeg xl support should instead go here:

https://github.com/python-pillow/Pillow/issues/4247

img2pdf uses Pillow as an imaging library. Once PIL understands jpeg xl, img2pdf will automatically support it as well. So your request for jpeg xl support should instead go here: https://github.com/python-pillow/Pillow/issues/4247
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: josch/img2pdf#188
No description provided.