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
| Improve this Doc 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 image to auto rotate. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |