use proper rot90
This commit is contained in:
parent
0dbc45fc41
commit
383cf86076
@ -189,7 +189,7 @@ def orientImage(image, size):
|
||||
return image
|
||||
|
||||
if (widthImg > heightImg) != (widthDev > heightDev):
|
||||
return image.rotate(90, Image.BICUBIC, True)
|
||||
return image.transpose(Image.ROTATE_90)
|
||||
return image
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user