Results 1 to 5 of 5

Thread: Me need transparant image. How?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    65

    Post

    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!"

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Posts
    80

    Post

    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.

  3. #3
    Junior Member
    Join Date
    Nov 1999
    Posts
    24

    Post

    I don't know how helpful this is, but a .png file also has the ability to be transparent...

  4. #4

    Post

    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.

  5. #5
    Lively Member
    Join Date
    Jun 1999
    Posts
    80

    Post

    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
  •  



Click Here to Expand Forum to Full Width