Skip to content

Commit

Permalink
Added support for missing orintation value (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMonashev authored May 8, 2022
1 parent 3c2113b commit 0da0fa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ This example shows how to use the library to correct the orientation of an image
logging.basicConfig(level=logging.DEBUG)
logging.debug("Orientation: %s (%s)", orientation, orientation.values)
val = orientation.values
if 2 in val:
val += [4, 3]
if 5 in val:
val += [4, 6]
if 7 in val:
Expand Down

0 comments on commit 0da0fa5

Please sign in to comment.