I have a BMP image and I want to extract a small portion of it and save it as a new BMP image file. I was able to load image and read it however I was not able to extract the sm