Re: Win32Lib - Create Pixmap in 24bits

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dave Probert wrote:
> 
> Hi All,
> I'm trying to develop a small program that requires me to create a offscreen
> pixmap
> using win32Lib, but it has to be in 24bit.
> Currently creating a pixmap is easy, but it seems to depend on the screen
> colour depth
> - ie if running in 256 colours then the pixmap is also 256 colours (I guess
> it's a
> compatible DC thingy).  
> I'm not overly used to playing around at the low level's of Windows and have
> no idea
> how to force the pixmap to be in 24bits, no matter what the screen is at.
> 
> I'm looking for a simple code solution rather than the inclusion of another
> library.
> 

Tommy Carlier has written some 24-bit bitmap routines that work with
win32lib. Try the RDS archive.

-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu