• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web
      • FormattedImage
      • FormatUtilities
      • ImageCacheMetadata
      • ImageMetadata
    • SixLabors.ImageSharp.Web.Caching
      • CacheHash
      • ICacheHash
      • IImageCache
      • PhysicalFileSystemCache
      • PhysicalFileSystemCacheOptions
    • SixLabors.ImageSharp.Web.Commands
      • CommandParser
      • DictionaryExtensions
      • IRequestParser
      • PresetOnlyQueryCollectionRequestParser
      • PresetOnlyQueryCollectionRequestParserOptions
      • QueryCollectionRequestParser
    • SixLabors.ImageSharp.Web.Commands.Converters
      • ICommandConverter
      • ICommandConverter<T>
    • SixLabors.ImageSharp.Web.DependencyInjection
      • ApplicationBuilderExtensions
      • IImageSharpBuilder
      • ImageSharpBuilderExtensions
      • ImageSharpConfiguration
      • ServiceCollectionExtensions
    • SixLabors.ImageSharp.Web.Middleware
      • ConcurrentDictionaryExtensions
      • ImageCommandContext
      • ImageProcessingContext
      • ImageSharpMiddleware
      • ImageSharpMiddlewareOptions
    • SixLabors.ImageSharp.Web.Processors
      • BackgroundColorWebProcessor
      • FormatWebProcessor
      • IImageWebProcessor
      • JpegQualityWebProcessor
      • ResizeWebProcessor
    • SixLabors.ImageSharp.Web.Providers
      • IImageProvider
      • PhysicalFileSystemProvider
      • ProcessingBehavior
    • SixLabors.ImageSharp.Web.Resolvers
      • IImageCacheResolver
      • IImageResolver
      • PhysicalFileSystemCacheResolver
      • PhysicalFileSystemResolver
    • 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, IDictionary<String, String>, String, String)

    Initializes a new instance of the ImageProcessingContext class.

    Declaration
    public ImageProcessingContext(HttpContext context, Stream stream, IDictionary<string, string> 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.

    IDictionary<String, String> 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 IDictionary<string, string> Commands { get; }
    Property Value
    Type Description
    IDictionary<String, String>
    | Improve this Doc View Source

    ContentType

    Gets the content type for 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