Add bmp image size obtaining and resizing

function mew-bmp-size