[REBOL] Re: compression
From: carl:cybercraft at: 14-Sep-2001 21:28
On 13-Sep-01, Hallvard Ystad wrote:
> Carl Read skrev (02.49 13.09.2001):
>> A quick suggestion off the top of my head. Work out the format of
>> REBOL bmp files and build a binary image to that format, convert it
>> using to-image and then save it as a png file.
> Good idea. I know there are different BMPs, e.g. I've heard about a
> "windows BMP format". Are you suggesting there is also a "rebol BMP
> format"?
Well, not quite, just the format of REBOL bitmaps. (: I've not looked
at bmp formats, but I assume they might allow for alpha channels and
other stuff. If so, does this have any bearing on what REBOL expects
of a bmp?
Except I've found a problem with my suggestion above - there's no
save/png in Core. (At least not in the free version.) Which I think
means you're back to working out a gif, (or png? it's an open format,
so info should be widely available), routine of your own. Not such a
good idea afterall...
I take it bmp files would be too big for what you're doing with them?
--
Carl Read