Bugs: Browse | Submit New | Admin

[#21183] to_blob doesn´t works on windows 1.2.3

Date:
2008-07-12 15:05
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
to_blob doesn´t works on windows 1.2.3

Detailed description
On windows image.to_blob opens the tempfile in text mode, throwing wrong data, I solved it changing the line 86 changing

      File.read @path

with the line

      open(@path,"rb").read()

Works with Minimagick 1.2.3

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item