-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Error saving and loading TIFF with exif with version>10.1 #8038
Comments
Not related to your issue, but fyi there's an so instead of tag = {
256: (128,),
...
} you can do from PIL import ExifTags
tag = {
ExifTags.Base.ImageWidth: (128,),
...
} |
The error you're experiencing is This has started happening for you because of #7654. It allowed the user to set the ROWSPERSTRIP tag, number 278. You're providing (5,) for that tag. The error is being triggered because 5 is smaller than 128, the height of your image, and as the error says, we have not yet implemented multistrip support. The simplest solution would be to just remove 278 from your |
Yes, you're right it worked. It solves my problem if I don't use Thank you very much! |
Hi,
I manage a library for geoscientific data. We use PIL to generate and load TIFF images, storing the coordinates of our TIFF images in the EXIF data. However, since version 10.2, the methods we were using no longer function properly and cause bugs. We are temporarily fixing the PIL version to 10.1 to avoid these issues.
Here are the details of the issue we are encountering:
Steps to reproduce the error:
Is this behaviour a bug or an intended change in the API? Are there some specific options or settings that could serve as a workaround?
Thank you!
The text was updated successfully, but these errors were encountered: