• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web
      • CaseHandlingUriBuilder
      • CaseHandlingUriBuilder.CaseHandling
      • ExifOrientationUtilities
      • FormattedImage
      • FormatUtilities
      • HMACUtilities
      • ImageCacheMetadata
      • ImageMetadata
    • SixLabors.ImageSharp.Web.Caching
      • ICacheHash
      • ICacheKey
      • IImageCache
      • LegacyV1CacheKey
      • PhysicalFileSystemCache
      • PhysicalFileSystemCacheOptions
      • SHA256CacheHash
      • UriAbsoluteCacheKey
      • UriAbsoluteLowerInvariantCacheKey
      • UriRelativeCacheKey
      • UriRelativeLowerInvariantCacheKey
    • SixLabors.ImageSharp.Web.Commands
      • CommandCollection
      • CommandCollectionExtensions
      • CommandParser
      • IRequestParser
      • PresetOnlyQueryCollectionRequestParser
      • PresetOnlyQueryCollectionRequestParserOptions
      • QueryCollectionRequestParser
    • SixLabors.ImageSharp.Web.Commands.Converters
      • ArrayConverter<T>
      • ColorConverter
      • EnumConverter
      • ICommandConverter
      • ICommandConverter<T>
      • IntegralNumberConverter<T>
      • ListConverter<T>
      • SimpleCommandConverter<T>
    • SixLabors.ImageSharp.Web.DependencyInjection
      • ApplicationBuilderExtensions
      • IImageSharpBuilder
      • ImageSharpBuilderExtensions
      • ServiceCollectionExtensions
    • SixLabors.ImageSharp.Web.Middleware
      • ImageCommandContext
      • ImageProcessingContext
      • ImageSharpMiddleware
      • ImageSharpMiddlewareOptions
    • SixLabors.ImageSharp.Web.Processors
      • AutoOrientWebProcessor
      • BackgroundColorWebProcessor
      • FormatWebProcessor
      • IImageWebProcessor
      • QualityWebProcessor
      • ResizeWebProcessor
    • SixLabors.ImageSharp.Web.Providers
      • FileProviderImageProvider
      • IImageProvider
      • PhysicalFileSystemProvider
      • PhysicalFileSystemProviderOptions
      • ProcessingBehavior
      • WebRootImageProvider
    • SixLabors.ImageSharp.Web.Resolvers
      • FileProviderImageResolver
      • IImageCacheResolver
      • IImageResolver
      • PhysicalFileSystemCacheResolver
    • SixLabors.ImageSharp.Web.Synchronization
      • AsyncKeyLock<TKey>
      • AsyncKeyReaderWriterLock<TKey>
      • AsyncLock
      • AsyncReaderWriterLock
      • RefCountedConcurrentDictionary<TKey, TValue>

    Class ExifOrientationUtilities

    Contains various helper methods for working with EXIF orientation values.

    Inheritance
    Object
    ExifOrientationUtilities
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: SixLabors.ImageSharp.Web
    Assembly: SixLabors.ImageSharp.Web.dll
    Syntax
    public static class ExifOrientationUtilities

    Methods

    | Improve this Doc View Source

    IsExifOrientationRotated(UInt16)

    Returns a value indicating whether an EXIF orientation is rotated (not flipped).

    Declaration
    public static bool IsExifOrientationRotated(ushort orientation)
    Parameters
    Type Name Description
    UInt16 orientation

    The EXIF orientation.

    Returns
    Type Description
    Boolean

    true if the orientation value indicates rotation; otherwise false.

    | Improve this Doc View Source

    Transform(AnchorPositionMode, UInt16)

    Transforms the specified anchor value depending on the specified orientation.

    Declaration
    public static AnchorPositionMode Transform(AnchorPositionMode anchor, ushort orientation)
    Parameters
    Type Name Description
    AnchorPositionMode anchor

    The input anchor value.

    UInt16 orientation

    The EXIF orientation.

    Returns
    Type Description
    AnchorPositionMode

    The transformed anchor.

    | Improve this Doc View Source

    Transform(Size, UInt16)

    Transforms the specified size value depending on the specified orientation.

    Declaration
    public static Size Transform(Size size, ushort orientation)
    Parameters
    Type Name Description
    Size size

    The input size value.

    UInt16 orientation

    The EXIF orientation.

    Returns
    Type Description
    Size

    The transformed size.

    | Improve this Doc View Source

    Transform(Vector2, Vector2, Vector2, UInt16)

    Transforms the specified vector value depending on the specified orientation.

    Declaration
    public static Vector2 Transform(Vector2 position, Vector2 min, Vector2 max, ushort orientation)
    Parameters
    Type Name Description
    Vector2 position

    The input vector value.

    Vector2 min

    The minimum bounds of the area of interest.

    Vector2 max

    The maximum bounds of the area of interest.

    UInt16 orientation

    The EXIF orientation.

    Returns
    Type Description
    Vector2

    The transformed vector.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX