Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#194 closed defect (fixed)

get_image_dimensions does not work on Windows

Reported by: Steadicat Owned by: Adrian Holovaty
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: no UI/UX: no

Description

In source:django/trunk/django/utils/images.py#3, 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 by Jacob, 19 years ago

Resolution: fixed
Status: newclosed

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

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