can control the heigh and width of bitmap