Table of Contents

Class LomographProcessor

Namespace
SixLabors.ImageSharp.Processing.Processors.Filters
Assembly
SixLabors.ImageSharp.dll

Converts the colors of the image recreating an old Lomograph effect.

public sealed class LomographProcessor : FilterProcessor, IImageProcessor
Inheritance
LomographProcessor
Implements
Inherited Members

Constructors

LomographProcessor(GraphicsOptions)

Initializes a new instance of the LomographProcessor class.

public LomographProcessor(GraphicsOptions graphicsOptions)

Parameters

graphicsOptions GraphicsOptions

Graphics options to use within the processor.

Properties

GraphicsOptions

Gets the options effecting blending and composition

public GraphicsOptions GraphicsOptions { get; }

Property Value

GraphicsOptions

Methods

CreatePixelSpecificProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)

Creates a pixel specific IImageProcessor<TPixel> that is capable of executing the processing algorithm on an Image<TPixel>.

public override IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle) where TPixel : unmanaged, IPixel<TPixel>

Parameters

configuration Configuration

The configuration which allows altering default behaviour or extending the library.

source Image<TPixel>

The source image. Cannot be null.

sourceRectangle Rectangle

The Rectangle structure that specifies the portion of the image object to draw.

Returns

IImageProcessor<TPixel>

The IImageProcessor<TPixel>

Type Parameters

TPixel

The pixel type.