CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fading Bitmaps



I'd be interested in source code for this, especially the palette manipulation
code, including how you realize the palette - this has been a major headache for
me in trying to do anything with more than 16 colors...

thanks, 
giles

Jonathan Arnold wrote:
> 
> Here's how we do it:
> 
> 1) Get a DIB of the destination bitmap using GetDIBits
> 2) Re-map any references in the DIB to the 20 standard system colors
> 3) Using AnimatePalette, fade the source bitmap to black
> 4) Change the palette in the destination DIB to be an "identity 
...


W Komornicki's Home Page | Main Index | Thread Index