i am understand all things
i change your function :
Code:
' in the main f1.SaveAs(savePath) Dim img As Drawing.Bitmap img = createThumnail(savePath, 50, 50)
Code:
Private Function createThumnail(ByVal ImagePath As String, ByVal tWidth As Double, ByVal tHeight As Double) As Drawing.Bitmap
Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(ImagePath)
Dim
Leave a comment: