Optimization, create Function CropMap(str InImg, str OutImg)