ImageTaskBaseTFixOrientation Method

Adjusts the current image so that its orientation is suitable for viewing (i.e. top-left orientation). The command is added to the chain and not executed until the actual processing is done. This command reads and resets the EXIF image profile setting 'Orientation' and then performs the appropriate 90 degree rotation on the image to orient the image, for correct viewing. When AutoFixOrientationEnabled is set to true, you don't need to call this method manually.

Definition

Namespace: GleamTech.ImageUltimate
Assembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 5.8.7
C#
public T FixOrientation()

Return Value

T
The same instance of this class.

Remarks

This EXIF profile setting is usually set using a gravity sensor in digital camera, however photos taken directly downward or upward may not have an appropriate value. Also images that have been orientation 'corrected' without reseting this setting, may be 'corrected' again resulting in a incorrect result. If the EXIF profile was previously stripped, this command will do nothing.

See Also