• 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 ImageProcessingContext

    Contains information about the current image request and processed image.

    Inheritance
    Object
    ImageProcessingContext
    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.Middleware
    Assembly: SixLabors.ImageSharp.Web.dll
    Syntax
    public class ImageProcessingContext

    Constructors

    | Improve this Doc View Source

    ImageProcessingContext(HttpContext, Stream, CommandCollection, String, String)

    Initializes a new instance of the ImageProcessingContext class.

    Declaration
    public ImageProcessingContext(HttpContext context, Stream stream, CommandCollection commands, string contentType, string extension)
    Parameters
    Type Name Description
    HttpContext context

    The current HTTP request context.

    Stream stream

    The stream containing the processed image bytes.

    CommandCollection commands

    The parsed collection of processing commands.

    String contentType

    The content type for the processed image.

    String extension

    The file extension for the processed image.

    Properties

    | Improve this Doc View Source

    Commands

    Gets the parsed collection of processing commands.

    Declaration
    public CommandCollection Commands { get; }
    Property Value
    Type Description
    CommandCollection
    | Improve this Doc View Source

    ContentType

    Gets the content type for the processed image.

    Declaration
    public string ContentType { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Context

    Gets the current HTTP request context.

    Declaration
    public HttpContext Context { get; }
    Property Value
    Type Description
    HttpContext
    | Improve this Doc View Source

    Extension

    Gets the file extension for the processed image.

    Declaration
    public string Extension { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Stream

    Gets the stream containing the processed image bytes.

    Declaration
    public Stream Stream { get; }
    Property Value
    Type Description
    Stream
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX