I have created a bitmap and would like to change it's pixel size dimensions to 640x200
before I save it.
How would I do that?
Here is my code:
Dim screenshot As Bitmap = CType(data.GetData(GetType(System.Drawing.Bitmap)), Bitmap)
'Here the conversion should happen.
screenshot.Save("C:\" & imagename & ".jpg")
Also, could you please tell me how does the size in kb changes?