Specifies the EXIF orientation flag behavior when obtaining pixel data.
Syntax
var value = Windows.Graphics.Imaging.ExifOrientationMode.ignoreExifOrientation;
Attributes
- VersionAttribute(NTDDI_WIN8)
Members
The ExifOrientationMode enumeration has these members.
| Member | Value | Description |
|---|---|---|
| IgnoreExifOrientation | ignoreExifOrientation | 0 |
The EXIF orientation flag is ignored. No rotation or flip operations are performed. |
| RespectExifOrientation | respectExifOrientation | 1 |
If the image frame contains a valid EXIF orientation flag, the specified rotation and/or flip operations are performed on the pixel data. |
Remarks
If you specify RespectExifOrientation, the resulting orientation will be applied before any transform that you have specified using BitmapTransform.
For example, an application calls BitmapDecoder::GetPixelDataAsync using the ExifOrientationMode value RespectExifOrientation and a BitmapRotation value of Clockwise90Degrees, and the particular image being decoded has an EXIF orientation flag specifying a counterclockwise 90 degree rotation. In this example, the ExifOrientation and BitmapRotation options are added together for a net rotation of 180 degrees clockwise.
ExifOrientationMode only has an effect on image formats that support EXIF orientation. This includes JPEG, TIFF and other formats that use an IFD-based metadata structure.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012