Making a transparent background using GDI+

Discussion in 'ASP .Net' started by Nathan Sokalski, Jun 26, 2005.

  1. I am trying to make a transparent background using the Bitmap and Graphics
    classes by setting the alpha value. However, it looks like what is happening
    is that it is being painted on top of the current color rather than
    replacing it, therefore preventing me from having a transparent area in my
    image. What can I do to replace pixels rather than paint on top of them?

    --
    Nathan Sokalski

    http://www.nathansokalski.com/
     
    Nathan Sokalski, Jun 26, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    0
    Views:
    501
    VB Programmer
    Jun 30, 2003
  2. =?Utf-8?B?Um9iZXJ0?=
    Replies:
    0
    Views:
    577
    =?Utf-8?B?Um9iZXJ0?=
    Apr 6, 2004
  3. Chris Tremblay
    Replies:
    1
    Views:
    717
  4. BORG
    Replies:
    3
    Views:
    638
    David Dorward
    Jul 5, 2003
  5. JWL
    Replies:
    4
    Views:
    814
    Michael Winter
    Sep 26, 2006
  6. Robin van de Water [synthesiSFactory]

    GDI+ is not properly initialized (internal GDI+ error).

    Robin van de Water [synthesiSFactory], Jan 10, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    1,702
    Robin van de Water [synthesiSFactory]
    Jan 10, 2007
  7. WT
    Replies:
    5
    Views:
    678
    Steven Cheng[MSFT]
    May 21, 2007
  8. nhwilly

    DynamicMenuItemStyle - Making the background Transparent

    nhwilly, Jun 1, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    301
    nhwilly
    Jun 1, 2006
Loading...