#11158: get_image_dimensions very slow after 1 call
-------------------------------------+--------------------------------------
Reporter: kua | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: 1.0
Resolution: | Keywords: get_image_dimensions,
field, save, slow
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by kua):
In [110]: f.seek(0)
In [111]: get_image_dimensions(f)
#very quick/snappy
Out[111]: (4000, 3000)
In [112]: f.seek(1)
In [113]: get_image_dimensions(f)
#very slow ~30 seconds, and returns none
In [114]:
--
Ticket URL: <http://code.djangoproject.com/ticket/11158#comment:2>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---