BitMap里面不是有获得宽和高的方法吗?
getHeight() . getWidth()