Skip to content

Commit 0da0fa5

Browse files
Added support for missing orintation value (#166)
1 parent 3c2113b commit 0da0fa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ This example shows how to use the library to correct the orientation of an image
171171
logging.basicConfig(level=logging.DEBUG)
172172
logging.debug("Orientation: %s (%s)", orientation, orientation.values)
173173
val = orientation.values
174+
if 2 in val:
175+
val += [4, 3]
174176
if 5 in val:
175177
val += [4, 6]
176178
if 7 in val:

0 commit comments

Comments
 (0)