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)
resize bitmaps to a better quality version (with bilinear filtering)
See this thread http://stackoverflow.com/a/7468636