Board index » delphi » semi-transparent

semi-transparent

Hi,

i have got a small problem in my program. I have got 2 TImage components.
the first one is 400 to 400 pixels and the other about 100 to 100 (but all
sizes may change). What i want to do is, that the small TImage copies that
part of the bitmap of the large TImage that is directly under it. then, the
small TImage should do a semitransparent effect. it should lay a fog with a
choosable color over the Image.

I hope that someone understood, what i mean.

thanks for your help
Benjamin

PS: Could you please send me a code that does this ? i don't have much
knowledge about grafic so it doesn't help me if you say: "Just use scanline"
or something like that :(

 

Re:semi-transparent


Quote
Benjamin <b.schir...@web.de> wrote in message news:3a448cd0_1@dnews...
> i have got a small problem in my program. I have got 2 TImage components.
> the first one is 400 to 400 pixels and the other about 100 to 100 (but all
> sizes may change). What i want to do is, that the small TImage copies that
> part of the bitmap of the large TImage that is directly under it. then,
the
> small TImage should do a semitransparent effect. it should lay a fog with
a
> choosable color over the Image.

Check out http://www.diprode.com/index.html
The transparent components (Translib) may work fine for your purpose.

--
Alexander Halser

Other Threads