Ticket #272 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Patch to png.py to work in windows

Reported by: robert.ancell@gmail.com Assigned to: johann
Priority: lowest Milestone:
Component: pypng Version:
Severity: critical Keywords:
Cc:

Description

Change pypng/lib/png.py line 442: self.file = file(kwfilename?) to self.file = file(kwfilename?, "rb")

Change History

2008-05-14 18:10:06 changed by johann

  • status changed from new to closed.
  • resolution set to fixed.

(In [2841]) Open PNG files in binary mode to make the Reader work in Windows. Thanks to Robert Ancell for the patch. This fixes #272.