By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,543 Members | 906 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,543 IT Pros & Developers. It's quick & easy.

creating dynamic transparent image

P: n/a
Hey

ASP.NET 2.0

I'm wondering if it's possible to create dynamic transparent images in
asp.net 2.0?

This is some code (see below) from my web project. In this code below I
create a Graphics object and fill it with a background color. But I want to
change this so this Graphics object gets transparent...

Bitmap bitmap = new Bitmap(120, 30);
Graphics graphics = Graphics.FromImage(bitmap);
graphics.SmoothingMode = SmoothingMode.AntiAlias;
graphics.Clear(Color.FromArgb(255, 247, 246, 243));

Any ideas on how to create a transparent Graphics object (the background is
transparent) is very welcome!

Jeff
Nov 6 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I guess the best advice you can get from this newsgroup is to re-post your
question to
microsoft.public.dotnet.framework.drawing
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
Hey

ASP.NET 2.0

I'm wondering if it's possible to create dynamic transparent images in
asp.net 2.0?

This is some code (see below) from my web project. In this code below I
create a Graphics object and fill it with a background color. But I want
to change this so this Graphics object gets transparent...

Bitmap bitmap = new Bitmap(120, 30);
Graphics graphics = Graphics.FromImage(bitmap);
graphics.SmoothingMode = SmoothingMode.AntiAlias;
graphics.Clear(Color.FromArgb(255, 247, 246, 243));

Any ideas on how to create a transparent Graphics object (the background
is transparent) is very welcome!

Jeff

Nov 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.