Orientation - Algorithmix/Picasso GitHub Wiki
- Take Blob
b - Rotate
bone degree - while rotated's area is greater than previous
- rotate one degree
This will ensure that the minimum area is taken up by the image. A simple 90 degree flip can be done if vertical/horizontal is desired