combining multiple images to one bmp

thebillybobjr
02-15-2005, 11:52 AM
I am trying to save a couple of picturebox.images to the same .bmp.

I can save individual ones using a commond dialog box to get a filename and then using the savepicture method.

Is there a way to save them so that vb somehow "adds" another picture onto the side so that if i wanted to savepicture 2 picturebox.images to the same bmp, the bmp would contain both images side by side.

suggestions?

I need this to be done in automatically in vb and not done manually using an outside source such as mspaint.

charlie
02-15-2005, 02:11 PM
You can add another PictureBox. When you select the images you want, you set the size of the new PictureBox with the total of the 2 Pictures.
Then you step into both PictureBoxes reading the colours of every pixel. You add the read pixels into the new PictureBox.
Then you use the SavePicture of the new PictureBox.
Is that what you mean?

passel
02-15-2005, 08:55 PM
http://www.xtremevbtalk.com/t101123.html

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum