fix a crash when resizing with a dimension to 0 (based on the ImageView dimensions)
Merge pull request #298 from robUx4/fix_resize_crash

fix a crash when resizing with a dimension to 0 (based on the ImageView dimensions)
don't draw the resized bitmap if the source and destination are the same
only allocate the return Bitmap when we know we'll need one