[REBOL] Re: compression
From: greggirwin:starband at: 12-Sep-2001 14:07
Hi Hallvard,
<< Let's instead say I have something as simple as a String of 0s and 1s
that form a picture...<snip>...I'd now like to turn it into an image that
may be viewed with a browser >>
I haven't worked with PNG format files but it should be very possible to
generate the header and format the data into a PNG file directly. Check out
www.libpng.org/pub/png for PNG info.
Another way might be to create an image! and then poke your data into it.
Not sure if that will work though.
I'd be interested in how to do the equivalent of a bitblt in REBOL, or to
know what is the most efficient way to manipulate images.
--Gregg