remove black borders from rotated images
remove black borders from rotated images

rotate does not modify canvas properly, so let us use transpose to remove black borders in rotated image.
kylefox/python-image-orientation-patch