Click to See Complete Forum and Search --> : Transparent Image
SteveCRM
Dec 8th, 1999, 04:36 AM
I know this question is asked a lot, but there is no tip on it. How can I make a bitmap transparent. (In paint or with code will do, I am getting paintshop pro tonight so could that do it)
Steve
Insane Killa
Dec 8th, 1999, 07:39 AM
I don't get you, do mean you want the background of the picture be transperant or what?
because for a start there are only 2 types of pictures that support transparency and bitmap isn't one of them
1 is gif and I can't remember the name of the other one.
SteveCRM
Dec 8th, 1999, 07:45 AM
I do mean the background of the image. i can always change it to a gif, that isn't any problem at all.
Steve
Insane Killa
Dec 9th, 1999, 03:02 AM
I think this is the one dmuir is refering to:
http://www.planet-source-code.com/vb/default.asp?lngWId=1&blnFrm=true
but could be a different one
and this one does the same but with the white pixels (can be changed)
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3567
[This message has been edited by Insane Killa (edited 12-09-1999).]
dmuir
Dec 9th, 1999, 11:05 AM
goto www.planet-source-code.com (http://www.planet-source-code.com) and lookup TransBitBlt
This will copy a bitmap and treat any black pixels as transparent.
good luck,
dmuir
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.