-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pillow ValueError #22
Comments
Hello, I was able to replicate your second issue. It seems to be a bug in I will probably take a look at it tomorrow. |
Thank you for taking a look! from PIL import Image
from jxlpy import JXLImagePlugin
im = Image.open('1.png')
im = im.resize((im.width*2, im.height*2))
im.save('test_2x.jxl', lossless=True, effort=7) the above works as intended^ :D |
Hi again, Sorry for my late response. I am still not sure what's going on with this However I discovered that Pillow tries to seek back to the first frame when doing I'm currently in a process of getting I'm pretty sure |
Hi! |
Hi! Thanks for looking into it from PIL import Image
from jxlpy import JXLImagePlugin
with open("1.jxl", "rb") as f:
with Image.open(f) as im:
im.show() and from PIL import Image
from jxlpy import JXLImagePlugin
im = Image.open('1.jxl')
im = im.resize((im.width*2, im.height*2))
im.save('test_2x.jxl', lossless=True, effort=7) I get the following error:
|
Hi, |
I'm using Linux (fedora 39), and I tested it on 3 different images, same error on all of them. However, after updating Pillow as well (from 9.5.0 to 10.2.0), it now works 🥳 I have no idea why 9.5.0 didn't recognise the image, maybe there's something in the plugin that's not compatible? In any case, it might be worth noting in the readme that if somebody encounters that error, they should make sure that Pillow is up to date. Thank you for the fix! |
Hi!
First of all, thank you for this project! I was trying to get this to work with Pillow using the encode-decode example.
but I get the following error:
then I tried
which results in
Any help would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: