From 7476303fd02600b9233a5ab31b0f9a6f769332b9 Mon Sep 17 00:00:00 2001 From: Wangweitao Date: Fri, 7 Jan 2022 14:51:40 +0800 Subject: [PATCH] bug fixed --- framework/Source/ImageOrientation.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Source/ImageOrientation.swift b/framework/Source/ImageOrientation.swift index 2c20de4c..84075dd0 100644 --- a/framework/Source/ImageOrientation.swift +++ b/framework/Source/ImageOrientation.swift @@ -10,7 +10,7 @@ public enum ImageOrientation { case (.portrait, .portraitUpsideDown): return .rotate180 case (.portraitUpsideDown, .portrait): return .rotate180 case (.portrait, .landscapeLeft): return .rotateCounterclockwise - case (.landscapeLeft, .portrait): return .rotateClockwise + case (.landscapeLeft, .portrait): return .rotateClockwiseAndFlipVertically case (.portrait, .landscapeRight): return .rotateClockwise case (.landscapeRight, .portrait): return .rotateCounterclockwise case (.landscapeLeft, .landscapeRight): return .rotate180