Re: Cay you add a .gif or .png to a bitmap image taht altready exists?
From: BluDog (news_at_nospam.bludog.net)
Date: 10/08/04
- Next message: Steve Cutting: "Tooltips only work once on form"
- Previous message: CJ Taylor: "Re: At&T Considers Linux - Beginning of the end for Microsoft"
- In reply to: Niels Jensen: "Cay you add a .gif or .png to a bitmap image taht altready exists?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Cay you add a .gif or .png to a bitmap image taht altready exists?"
- Reply: Herfried K. Wagner [MVP]: "Re: Cay you add a .gif or .png to a bitmap image taht altready exists?"
- Reply: Niels Jensen: "Re: Cay you add a .gif or .png to a bitmap image taht altready exi"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 08 Oct 2004 13:29:36 +0100
On Fri, 8 Oct 2004 04:11:05 -0700, Niels Jensen
<NielsJensen@discussions.microsoft.com> wrote:
>I have a bitmap image that's around 640 x 480 pixels. I want to add some
>.gif or .png files to the image before displaying it in my application. Is
>there a way of doing this?
Dim bmp As New Bitmap("C:\MyImage.jpg")
Dim g As Graphics = Graphics.FromImage(bmp)
g.DrawImage(Image.FromFile("C:\MyOtherImage.jpg"), 5, 5)
PictureBox1.Image = bmp
Hope this helps
Blu.
- Next message: Steve Cutting: "Tooltips only work once on form"
- Previous message: CJ Taylor: "Re: At&T Considers Linux - Beginning of the end for Microsoft"
- In reply to: Niels Jensen: "Cay you add a .gif or .png to a bitmap image taht altready exists?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Cay you add a .gif or .png to a bitmap image taht altready exists?"
- Reply: Herfried K. Wagner [MVP]: "Re: Cay you add a .gif or .png to a bitmap image taht altready exists?"
- Reply: Niels Jensen: "Re: Cay you add a .gif or .png to a bitmap image taht altready exi"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|