Results 1 to 3 of 3

Thread: [2005] Chroma Keyer for a picturebox control?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    4

    [2005] Chroma Keyer for a picturebox control?

    I am trying to make a pictures blue background transparent like a Chroma Keyer


    heres the test image

    http://img407.imageshack.us/img407/6439/testhb1.png

    I would like to make the blue part transparent ;[

    i've tried


    Code:
            SetStyle(ControlStyles.SupportsTransparentBackColor, True)
            Me.PictureBox1.BackColor = Color.Transparent
    but we know it won't work anyway.

    any ideas?

  2. #2
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,950

    Re: [2005] Chroma Keyer for a picturebox control?

    You can set the TransparencyKey of the form to be that color, the form will then have a transparent hole in it.

    Me.TransparencyKey = Color.Blue 'or whatever the color is

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    4

    Re: [2005] Chroma Keyer for a picturebox control?

    okay cool thanks that worked

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