Overlay Transparency With Shading
- From: "alanglloyd@xxxxxxx" <alanglloyd@xxxxxxx>
- Date: Sat, 20 Oct 2007 23:13:51 -0700
If I have a simple 16-colour bitmap I can use it to overlap another
bitmap with transparency by somehow defining a "transparent
colour" (usually the bottom-left pixel colour). Whenever a pixel in
the transparent colour is found in the overlay, then the source colour
pixel is used, otherwise the overlay colour is used.
But how can I achieve this effect when I have 16.7M colours and have
shading at the edges of an overlay, and so need a resultant pixel
which is similarly shaded, but with the source colour, not the
"transparent colour".
Is there built-in windows or Delphi functionality which will do this.
Information, knowledge, how-to, please.
Alan Lloyd
.
- Prev by Date: Re: Trouble when user increases DPI setting
- Next by Date: Vista??? Avoid it! Re: change from .hlp to ?
- Previous by thread: buy cheap runescape gold on www.cheap-runescape-gold.com
- Next by thread: Excel spreadsheets & Delphi
- Index(es):
Loading