Bitmap resizing added