Subject: Re: convert PNG to hex
From: jeljer te Wies <jeljer me.com>
Date: Mon, 23 Mar 2009 07:43:45 +0900
References: 331803331808331809
In-reply-to: 331809
This is what i now tried (image is ofcourse a array so I did 2 just to
test it) but
it's not working :(
f = File.new("PNG.png")
image = f.readlines
puts sprintf ("%X", image[2])
--
Posted via http://www.ruby-forum.com/.