What's wrong with DrawImage?
\\\\\\\\\\
Function StampImage(ByVal Source As Image, ByVal Stamp As Image, Coord as
Point) As Image
Dim NewBmp As New Bitmap(Source)
Dim NewGraphics As Graphics = Graphics.FromImage(NewBmp)
NewGraphics.DrawImage(Stamp, Coord )
Return NewBmp
End Function
//////////
--
Mick Doherty
http://homepage.ntlworld.com/mdaudi100/index.html
"Stu" <s.****@cergis.com> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl...
Hi,
What is the quickest (performance wise) way to copy one small bitmap to
certain coordinates of a bigger bitmap? I'm currently doing it by looping
through each pixel....and I get the feeling I've missed something a little
more elegant!
Thanks in advance,
Stew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 31/05/2004