Support JPEG XL #188

Open
opened 4 months ago by Ghost · 1 comments
Ghost commented 4 months ago

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/
josch commented 4 months ago
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
Loading…
There is no content yet.