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.
Namespace: GleamTech.ImageUltimateAssembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.0.2
public T FixOrientation()
Public Function FixOrientation As T
Return Value
TThe same instance of this class.
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.