Crops all images in a directory by a certain size