|
-
Nov 10th, 1999, 09:24 AM
#1
Thread Starter
Lively Member
How me get transparant image? I need see through to background. What must do, I?
------------------
"I'm carrying a Geometry book, but I'm not in Geometry...it's crazy...crazy man!"
-
Nov 11th, 1999, 08:22 AM
#2
Lively Member
Here's da easy way to do it.
Youse first needs to put da background in a Picture control. Select da Picture control and then put an Image control over it.
Use a transparent GIF and put it in to the Image control and, "Voila!", youse got yerself a image with its background.
HTH.
-
Nov 25th, 1999, 12:59 PM
#3
Junior Member
I don't know how helpful this is, but a .png file also has the ability to be transparent...
-
Nov 25th, 1999, 11:57 PM
#4
New Member
I'm pretty sure that you aren't allowed to put a GIF into a picture box, and I'm really sure that you can't put a PNG.
Even if loading a GIF did work, it would be very slow.
A faster and more efficient way to create a transparent image is through a technique called masking. It can get kind of confusing, so I wrapped it all up into a function for you. YOu can find this function by visiting http://www.planet-source-code.com and searching for "TransBitBlt" Basically, to use this function, you create your image as a BMP (or JPG) and make the areas that you want transparent Black. Anything that is black on your image will apppear transparent.
-
Nov 27th, 1999, 10:28 AM
#5
Lively Member
I meant a .bmp file in the Picture control and a .gif file in the Image control.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|