From: Harold Hausman Date: 2006-09-03T11:13:05+09:00 Subject: Re: [ANN] mem_inspect and png On 9/1/06, Eric Hodel wrote: > I'm pleased to announce to new libraries written by members of the > Seattle Ruby Brigade, mem_inspect and png! > > png is a pure-ruby PNG writing library written by Ryan Davis. > File.open on windows needs to be explicitly told to be binary. Adding the magic 'b' here got me going on win32: ## # Writes the PNG to +path+. def save(path) # Hooray, magic 'b' ! File.open(path, "wb") do |f| ... end end #Thanks for this cool lib -Harold