Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#194 closed defect (fixed)

get_image_dimensions does not work on Windows

Reported by: Steadicat Owned by: adrian
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


In source:django/trunk/django/utils/, get_image_dimensions does not work on Windows because the image file is not read as a binary file.

Line 11 should read:

    fp = open(path, 'rb')

Change History (1)

comment:1 Changed 11 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

(In [310]) Fixed #194 -- thanks, steadicat!

Note: See TracTickets for help on using tickets.
Back to Top