Added new function to Bitmap to resize the image, scaling by resampling the original.