"sat" <satish4u.knr (AT) gmail (DOT) com> schrieb:
Quote:
Here i hav 4 images in my folder,all the images are smaller in
size,and my program is wen i click the button,all the images are stored
on either picturebox or imageviewer i.e all 4 images are shown in one
picturebox.
Wen i click another button 4 save the entire image as a single .jpg
or .bmp or .tif etc
but how to proceed the task.
Here i hav taken binarystream and i tried but iam not getting...plzz
give me the idea to proceed. |
\\\
Dim b As New Bitmap(...)
Dim g As Graphics = Graphics.FromImage(b)
Dim bmp1 As Image = Image.LoadFrom(...)
Dim bmp2 As Image = Image.LoadFrom(...)
g.DrawImage(bmp1, ...)
g.DrawImage(bmp2, ...)
b.Save(...)
g.Dispose()
b.Dispose()
bmp1.Dispose()
bmp2.Dispose()
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>