I have an image that I want to resize, but the property is read-only. I tried creating a bitmap and setting it equal to the image, but that didn't work:
Code:
            Dim bmp As Bitmap = New Bitmap(x, y)
            bmp = pbBefore.Image
            pbBefore.Image = bmp

How can I achieve my goal without looping through and drawing each pixel up to a certain length?