ExifOrientationMode enumeration

This topic has not yet been rated - Rate this topic

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.

MemberValueDescription
IgnoreExifOrientation | ignoreExifOrientation0

The EXIF orientation flag is ignored. No rotation or flip operations are performed.

RespectExifOrientation | respectExifOrientation1

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

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

See also

GetPixelDataAsync

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.