Class AutoOrientExtensions
Defines extensions that allow the application of auto-orientation operations to an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class AutoOrientExtensions
Methods
| Edit this page View SourceAutoOrient(IImageProcessingContext)
Adjusts an image so that its orientation is suitable for viewing. Adjustments are based on EXIF metadata embedded in the image.
Declaration
public static IImageProcessingContext AutoOrient(this IImageProcessingContext source)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
Returns
Type | Description |
---|---|
IImageProcessingContext |