1. creating a valid bmp in Paint for Euphoria

Hi,

I'm having trouble with read_bitmap. According to the euphoria docs you can
create a bitmap in Paint and read it with read_bitmap. However everytime I
do that I get an "Unsupported Format" return code error. The bitmap always
gets created in Paint as 32X32X24BPP. Read_bitmap supports 2, 4, 16 and 256
colors. What can I do?

I want to eventually get this bmp into XPM format for my Toolbars.

Any help would be appreciated.

Thanks,
Judith Evans

new topic     » topic index » view message » categorize

2. Re: creating a valid bmp in Paint for Euphoria

EU>Hi,

EU>I'm having trouble with read_bitmap. According to the euphoria docs you can
EU>create a bitmap in Paint and read it with read_bitmap. However everytime I
EU>do that I get an "Unsupported Format" return code error. The bitmap always
EU>gets created in Paint as 32X32X24BPP. Read_bitmap supports 2, 4, 16 and 256
EU>colors. What can I do?

EU>I want to eventually get this bmp into XPM format for my Toolbars.

EU>Any help would be appreciated.

EU>Thanks,
EU>Judith Evans

When you save, select something other than 24-Bit Bitmap in the list
under the file name.

Jeffrey Fielding
JJProg at cyberbury.net
http://members.tripod.com/~JJProg/

new topic     » goto parent     » topic index » view message » categorize

3. Re: creating a valid bmp in Paint for Euphoria

Thanks,

That leaves me with a 'red face'... I completely overlooked the dropdown
list under the filename.

Judith Evans

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu