Hi all i need help with project i've built with VB.Net
it's my first time handling with this code.
This project creates images with different sizes (5 images).
I handled very well with the images resize but now I need to create new large image that includes all the images i have saved before (5 images only).
They should be arranged side by side in any order, it doesn't matter how.
This is how the code looks like:
Dim Frame, W, H As Integer
Dim p As New PictureBox()
W = 133
H = 167
For Frame = 1 To 5
Dim bmp As New Bitmap(Form2.picImage1.Image, W, H)
Form2.Show()
bmp.Save(filename:="c:\" & Frame & ".bmp")
W = W - 10
H = H - 10
Next Frame
W = 10
H = 20
For Frame = 1 To 5
p.Image = Image.FromFile(filename:="c:\" & Frame & ".bmp")
p.Location = New Point(W, H)
p.Show()
W = W + 10
H = H + 10
Me.Controls.Add(p)
Next Frame
p.Image.Save(filename:="c:\Full.bmp")
it's very important and urgent
Any solutions? :\
it's my first time handling with this code.
This project creates images with different sizes (5 images).
I handled very well with the images resize but now I need to create new large image that includes all the images i have saved before (5 images only).
They should be arranged side by side in any order, it doesn't matter how.
This is how the code looks like:
Dim Frame, W, H As Integer
Dim p As New PictureBox()
W = 133
H = 167
For Frame = 1 To 5
Dim bmp As New Bitmap(Form2.picImage1.Image, W, H)
Form2.Show()
bmp.Save(filename:="c:\" & Frame & ".bmp")
W = W - 10
H = H - 10
Next Frame
W = 10
H = 20
For Frame = 1 To 5
p.Image = Image.FromFile(filename:="c:\" & Frame & ".bmp")
p.Location = New Point(W, H)
p.Show()
W = W + 10
H = H + 10
Me.Controls.Add(p)
Next Frame
p.Image.Save(filename:="c:\Full.bmp")
it's very important and urgent
Any solutions? :\