PDA

Click to See Complete Forum and Search --> : image bg trancparency


amanteragazzo
Feb 23rd, 2002, 09:45 PM
I need to make the background of an image transparent. I tried to use the api, but it ate way too much memory. Is there any other way?

/\/\isanThr0p
Feb 24th, 2002, 07:19 AM
go to www.ur.co.nz and read the bitblt tutorial, basically what you do is blit a mask first, to make everything that is supposed to be visible black on the destination dc and than you blit your picture to every black pixel.
works real easy just take a look.