Are these possible - transparency and colors
I'm just wondering if this is possible with AlphaBlend or whatever other Windows functions there are.
1. The color of an object remains the same but the alpha varies as determined by a grayscale image. Would it be possible to have this image be drawn with a static color and variable alpha (alpha is a grayscale map), and use 8 bits per pixel instead of 32? If it can be, how could it be done?
2. An image has areas that are fully transparent but others fully opaque, but nothing inbetween. It's like GIF images - transparency is set to one particular color. That is, one of the chosen colors (even for 24-bit images) is to be rendered as fully transparent. Could this be done and if so, how?