Re: Grphics: How to draw an image transparent
From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 03/15/05
- Next message: Marco Herrn: "Re: serializing an object to a string"
- Previous message: at: "Re: Problem: The underlying connection was closed: Unable to connect to the remote server"
- In reply to: felix: "Re: Grphics: How to draw an image transparent"
- Next in thread: felix: "Re: Grphics: How to draw an image transparent"
- Reply: felix: "Re: Grphics: How to draw an image transparent"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Mar 2005 12:22:56 +0100
At the bottom of the Drawing An Image article in the GDI+ FAQ it clearly
shows how to draw an image with transparency using the ColorMatrix
structure.
-- Bob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "felix" <felix@news.com> wrote in message news:urABNOUKFHA.2704@tk2msftngp13.phx.gbl... > Actually, I can't find such an information on your website. I know how to > draw an image and I'm also able to draw a transparent gif (well, I think, > GDI+ simply handles the transparency on its own). > > What I want is to render the entire image (regardless of its own > transparency or file-format / pixel-format) with a specific alpha. Imagine > a slider where the user can modify the alpha value in the range [0,255] > and the image will be rendered accordingly. > > I can't find any information about that issue. Thus, I'm really looking > forward for any help I can get. > > Regards, > Felix > > > Bob Powell [MVP] wrote: >> The info you need is actually in the GDI+ FAQ. See the article on Drawing >> images. >>
- Next message: Marco Herrn: "Re: serializing an object to a string"
- Previous message: at: "Re: Problem: The underlying connection was closed: Unable to connect to the remote server"
- In reply to: felix: "Re: Grphics: How to draw an image transparent"
- Next in thread: felix: "Re: Grphics: How to draw an image transparent"
- Reply: felix: "Re: Grphics: How to draw an image transparent"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading