Change a bitmap
From: Lachlan (anonymous_at_discussions.microsoft.com)
Date: 10/28/04
- Next message: lachlan James: "Change a bitmap"
- Previous message: Bob Powell [MVP]: "Re: correct "mental model" of graphics of a control ?"
- Next in thread: lachlan James: "Change a bitmap"
- Reply: lachlan James: "Change a bitmap"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 08:32:50 -0700
Hi,
Does anyone know how I can draw some images onto a
background image and then save the image to a file? I
thought an easy way would be to draw the images onto a
graphics object using the DrawImageMethod() then save it
but I can't figure out how to save the graphics object to
a file.
Bitmap myImg = new Bitmap(@"porche.jpg");
Graphics g = Graphics.FromImage(curBitmap);
g.DrawImage(myImg, 0, 0, myImg.Width, myImg.Height);
How can I save this Graphics object to a file?
Thanks,
Lachlan
- Next message: lachlan James: "Change a bitmap"
- Previous message: Bob Powell [MVP]: "Re: correct "mental model" of graphics of a control ?"
- Next in thread: lachlan James: "Change a bitmap"
- Reply: lachlan James: "Change a bitmap"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|