mirror of https://github.com/SixLabors/ImageSharp
committed by
GitHub
5 changed files with 70 additions and 87 deletions
@ -1,56 +1,56 @@ |
|||||
// Copyright (c) Six Labors.
|
// Copyright (c) Six Labors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Processing |
namespace SixLabors.ImageSharp.Metadata.Profiles.Exif |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Enumerates the available orientation values supplied by EXIF metadata.
|
/// Enumerates the available orientation values supplied by EXIF metadata.
|
||||
/// </summary>
|
/// </summary>
|
||||
internal enum OrientationMode : ushort |
public static class ExifOrientationMode |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// Unknown rotation.
|
/// Unknown rotation.
|
||||
/// </summary>
|
/// </summary>
|
||||
Unknown = 0, |
public const ushort Unknown = 0; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row at the top, the 0th column on the left.
|
/// The 0th row at the top, the 0th column on the left.
|
||||
/// </summary>
|
/// </summary>
|
||||
TopLeft = 1, |
public const ushort TopLeft = 1; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row at the top, the 0th column on the right.
|
/// The 0th row at the top, the 0th column on the right.
|
||||
/// </summary>
|
/// </summary>
|
||||
TopRight = 2, |
public const ushort TopRight = 2; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row at the bottom, the 0th column on the right.
|
/// The 0th row at the bottom, the 0th column on the right.
|
||||
/// </summary>
|
/// </summary>
|
||||
BottomRight = 3, |
public const ushort BottomRight = 3; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row at the bottom, the 0th column on the left.
|
/// The 0th row at the bottom, the 0th column on the left.
|
||||
/// </summary>
|
/// </summary>
|
||||
BottomLeft = 4, |
public const ushort BottomLeft = 4; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row on the left, the 0th column at the top.
|
/// The 0th row on the left, the 0th column at the top.
|
||||
/// </summary>
|
/// </summary>
|
||||
LeftTop = 5, |
public const ushort LeftTop = 5; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row at the right, the 0th column at the top.
|
/// The 0th row at the right, the 0th column at the top.
|
||||
/// </summary>
|
/// </summary>
|
||||
RightTop = 6, |
public const ushort RightTop = 6; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row on the right, the 0th column at the bottom.
|
/// The 0th row on the right, the 0th column at the bottom.
|
||||
/// </summary>
|
/// </summary>
|
||||
RightBottom = 7, |
public const ushort RightBottom = 7; |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// The 0th row on the left, the 0th column at the bottom.
|
/// The 0th row on the left, the 0th column at the bottom.
|
||||
/// </summary>
|
/// </summary>
|
||||
LeftBottom = 8 |
public const ushort LeftBottom = 8; |
||||
} |
} |
||||
} |
} |
||||
Loading…
Reference in new issue