1. Monochrome bitmaps in windows

Does anyone know a way to convert a bitmap to monochrome, where any pixel
color other than the background color is made black?

Here's why (so I don't get 10 messages telling me to d/l paint shop pro :).
I'm trying to make it so you can put a bitmap onto an image list, but since
the image lists in win32lib use masks, I need to generate a mask.  I've been
using CopyImage (in user32.dll), with the LR_MONOCHROME flag sent, but it
fails to convert most of the colors, which means that the image isn't very
good.


Matt Lewis

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu