|
@ -370,6 +370,7 @@ public static class Util { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// https://sirv.com/help/articles/rotate-photos-to-be-upright/
|
|
|
// https://sirv.com/help/articles/rotate-photos-to-be-upright/
|
|
|
|
|
|
// FIXME: could use AutoOrientProcessor instead?
|
|
|
public static void RotateImageFromExif(Image<Rgba32> image, ushort orientation) { |
|
|
public static void RotateImageFromExif(Image<Rgba32> image, ushort orientation) { |
|
|
if (orientation <= 1) { |
|
|
if (orientation <= 1) { |
|
|
return; |
|
|
return; |
|
|