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

    A class encapsulating an image with a particular file encoding.

    Inheritance
    Object
    FormattedImage
    Implements
    IDisposable
    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 sealed class FormattedImage : IDisposable

    Properties

    | Improve this Doc View Source

    Encoder

    Gets or sets the encoder.

    Declaration
    public IImageEncoder Encoder { get; set; }
    Property Value
    Type Description
    IImageEncoder
    | Improve this Doc View Source

    Format

    Gets or sets the format.

    Declaration
    public IImageFormat Format { get; set; }
    Property Value
    Type Description
    IImageFormat
    | Improve this Doc View Source

    Image

    Gets the image.

    Declaration
    public Image<Rgba32> Image { get; }
    Property Value
    Type Description
    Image<Rgba32>

    Methods

    | Improve this Doc View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Load(Configuration, Stream)

    Loads the specified source.

    Declaration
    public static FormattedImage Load(Configuration configuration, Stream source)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration.

    Stream source

    The source.

    Returns
    Type Description
    FormattedImage

    The FormattedImage.

    | Improve this Doc View Source

    Save(Stream)

    Saves image to the specified destination stream.

    Declaration
    public void Save(Stream destination)
    Parameters
    Type Name Description
    Stream destination

    The destination stream.

    Implements

    System.IDisposable

    See Also

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