Re: Win32lib bitmaps
- Posted by Brian Broker <bkb at CNW.COM> Dec 29, 1999
- 429 views
On Wed, 29 Dec 1999 12:34:47 -0300, Caballero Rojo wrote: >Hi all, > I just want to know what kind of bitmaps I can read using win32lib. > Example: 256 colors, 16 bit, 24 bit > > That's all. > Thanks I believe that Win32Lib can read up to 32-bit bitmaps using 'loadBitmapFromFile'. 'createDIB' can be passed a Euphoria bitmap of up to 24-bit color. Don't read a high color bitmap using Euphoria's 'read_bitmap' since it can only read bitmaps of 256 colors or less. A while back I added the 24-bit color support for 'createDIB' so that I could make a Pixmap from an XPM (text based format) with more than 256 colors. This is now used in the 'xpmToPixmap' routine. Hope I didn't confuse you too much... -- Brian