Class OrientationMode
Defines the modes that control Exif Orientation correction.
Inheritance
System.Object
OrientationMode
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class OrientationMode : Enum
Fields
Ignore
Ignore any orientation tag and treat the image as if its stored orientation is normal. Do not tag the output image. This option should only be used if the Exif orientation of the input image is known to be incorrect.
Declaration
public const OrientationMode Ignore
Field Value
Type | Description |
---|---|
OrientationMode |
Normalize
Correct the image orientation according to the Exif tag on load. Save the output in normal orientation. This option ensures maximum compatibility with viewer software.
Declaration
public const OrientationMode Normalize
Field Value
Type | Description |
---|---|
OrientationMode |
Preserve
Preserve the orientation of the input image and tag the output image to reflect the orientation. If the output format does not support orientation tagging, it will be discarded.
Declaration
public const OrientationMode Preserve
Field Value
Type | Description |
---|---|
OrientationMode |
value__
Declaration
public byte value__
Field Value
Type | Description |
---|---|
System.Byte |