From: Michael Neumann Date: 2004-11-17T00:05:47+09:00 Subject: Re: bitmaps Ara.T.Howard@noaa.gov wrote: > On Tue, 16 Nov 2004, Michael Neumann wrote: > >> --------------060203080807000504090503 >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> Content-Transfer-Encoding: 7bit >> >> Joe Van Dyk wrote: >> >>> How can I create a bitmap in Ruby? I have a bunch of RGBA values, >>> and need >>> to convert them into a bitmap or some other picture format. >> >> >> You can use my appended PNG writer class. Generating PNM images (there >> very different to PNG!!!) is even simpler. >> >> Regards, >> >> Michael > > > wow. that's some neat code. have you released somewhere? http://www.ntecs.de/viewcvs/viewcvs/Misc/png.rb Regards, Michael