#33240: get_image_dimensions() raises ValueError on some .ico files.
-------------------------------------+-------------------------------------
Reporter: NKSM | Owner: Ath
| Tripathi
Type: Bug | Status: closed
Component: File | Version: 2.2
uploads/storage |
Severity: Normal | Resolution: needsinfo
Keywords: pillow | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* resolution: => needsinfo
* status: new => closed
Comment:
The error looks like a new error raised after type hints were added to
Pillow 11 see: https://github.com/python-
pillow/Pillow/commit/e6e5ef5c5fbd83ac5dd63301e4d7d6860a7b2d09
I agree with Mariusz here, what we are doing is
[https://pillow.readthedocs.io/en/stable/reference/ImageFile.html#example-
parse-an-image in the Pillow docs] and so should be supported by Pillow
(rather than we are doing anything too interesting/exotic here) - I think
first raise an issue to Pillow and see what they say
--
Ticket URL: <https://code.djangoproject.com/ticket/33240#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070192e793383f-da793e75-f3c4-4b9c-baaa-04256a919e6e-000000%40eu-central-1.amazonses.com.