1. Re: BMP
--=====================_890888853==_
I don't think I explained myself correctly...
Colin Taylor has a bitmap.e file and explains this in his text file:
"Windows bitmap (.bmp) files can be converted to Euphoria
bitmaps by the read_bmp() routine." I want to know how to convert .bmp to
(I assume) .bm files. An example is attached. Your help is appreciated!
At 03:22 PM 3/25/98 -0500, you wrote:
>>At 12:08 PM 3/25/98 -0800, you wrote:
>>>
>>>I am a Euphoria newbie....I want to save bitmaps in Euphoria format (.bm?).
>>
>>Euphoria uses standard windoz BMP format (RGB) which
>>you can create using PaintShopPro or other graphics editors.
>>If you want to use Euphoria to draw some graphics and
>>then save that as a .bmp, you use the command
>> result = save_screen(0,"TEST.BMP")
>>if you want to save only a portion of the screen, use
>> result = save_screen({{x1,y1},{x2,y2}},"TEST.BMP")
>> where x1 = top left corner x, y1 = top left corner y
>> and x2 = bottom right corner x, y2 = bottom right corner y
>>
>>Please note: the palette from certain bmp files may be
>>wrong for the standard 256 color palette, but can be
>>adjusted with PSP or similar. See testpal.ex on my web site
>>to see the standard colors.
>>
>>Irv
>>----------------------------------------------------------
>>--Visit my Euphoria programming web site:--
>>--http://www.mindspring.com/~mountains --
>>----------------------------------------------------------
>>
>>
--=====================_890888853==_