There was a previous post on this but I cannot find it...
The previous post showed resizing using the graphics object:
Expand|Select|Wrap|Line Numbers
- 'Declare source / old bitmap
- Dim bitmap As Bitmap = New Bitmap(patientPic)
- 'Declare new / target bitmap
- Dim newbitmap As Bitmap = New Bitmap(CInt(250), CInt(200))
- 'Declare graphic taken from new bitmap
- Dim g As Graphics = Graphics.FromImage(newbitmap)
- 'Draw the new graphic
- g.DrawImage(bitmap, 0, 0, newbitmap.Width, newbitmap.Height)
Any ideas gratefully received.
Jerry