Resizes bmp files