Getting the size of the image

I call the get_clip_rect function to determine the size of the bitmap image.

The requirement described earlier