1/18 And now, a non political question. I want to do semi-transparent
on a bitmap. Is turning every other bit transparent and staggering
this on every line effective?
\_ It does work, but it doesn't look great. As the poster below
suggested, use a bitmap format with real translucency (like PNG)
if you can.
\_ Are you chinese? Do you understand the effects opium trade
had on china?
\_ Fuck you and your bitmaps. How much did Karl Rove pay you to
to say that about bitmaps?
\_ Obviously you've never served.
\_ Uh, you mean a checkerboard pattern? =P Sure, it's fine, except
that if by "bitmap" you mean a "Windows bitmap", then you don't
get any transparency.
\_ This can make nasty moire patterns on CRT monitors, in case that
matters to OP.
\_ use png files if you can
\_ The easiest way is to create a layered image in whatever tool you
prefer (photoshop, psp, gimp, etc.) and set the transparency. Do
you want to simply make 1 bitmap? Many? Programatically?
\_ I want to have a floating bitmap as a window (already
accomplished) that is semi-transparent so that you can see
everything behind the window. Other option I suppose is to
take a clipped screenshot of everything behind the window
and do an alpha on the two bitmaps, but that seems
to be somewhat difficult to accomplish.
\_ On Windows 2000 or XP, why not use normal alpha? |