Log In
Support
New Account
This forum
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Software/Group
People
Skill
Advanced search
Home
My Page
Project Tree
Code Snippets
Project Openings
MiniMagick
Summary
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
Forums
|
Admin
Discussion Forums:
open-discussion
Start New Thread
Nested
Flat
Threaded
Ultimate
Show 25
Show 50
Show 75
Show 100
By:
Andrew Peters
Windows truncation issue patched [ reply ]
2006-06-21 12:00
Change write method to this:
def write(output_path)
File.open(output_path, "wb") do |output_file|
File.open(@path, "rb") do |image_file|
output_file.write(image_file.read)
end
end
end