Combine small bitmaps into a big one

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 76 bitmaps (640 x 480) and need to combine them together to form a big
one (about 3840 x 2880). Those 76 bitmaps overlap each other with a small
portion.
Is there any way to do it?
Thanks.
 
John said:
I have 76 bitmaps (640 x 480) and need to combine them together to form a
big
one (about 3840 x 2880). Those 76 bitmaps overlap each other with a small
portion.

Load the images into 'Bitmap' objects, create a new 'Bitmap' object of
appropriate size, then use 'Graphics.FromImage' to get a 'Graphics' object
for the destination bitmap. Use its 'DrawImage' method to draw the source
bitmaps onto the destination bitmap and call the destination bitmap's 'Save'
method to persist it to a file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top