updated pillow requirement and cropping
handle case where sizes match