Class LomographProcessor
Converts the colors of the image recreating an old Lomograph effect.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Filters
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class LomographProcessor : FilterProcessor, IImageProcessor
Constructors
| Improve this Doc View SourceLomographProcessor(GraphicsOptions)
Initializes a new instance of the LomographProcessor class.
Declaration
public LomographProcessor(GraphicsOptions graphicsOptions)
Parameters
Type | Name | Description |
---|---|---|
GraphicsOptions | graphicsOptions | Graphics options to use within the processor. |
Properties
| Improve this Doc View SourceGraphicsOptions
Gets the options effecting blending and composition
Declaration
public GraphicsOptions GraphicsOptions { get; }
Property Value
Type | Description |
---|---|
GraphicsOptions |
Methods
| Improve this Doc View SourceCreatePixelSpecificProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)
Creates a pixel specific IImageProcessor<TPixel> that is capable of executing the processing algorithm on an Image<TPixel>.
Declaration
public override IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
where TPixel : struct, IPixel<TPixel>
Parameters
Type | Name | Description |
---|---|---|
Configuration | configuration | The configuration which allows altering default behaviour or extending the library. |
Image<TPixel> | source | The source image. Cannot be null. |
Rectangle | sourceRectangle | The Rectangle structure that specifies the portion of the image object to draw. |
Returns
Type | Description |
---|---|
IImageProcessor<TPixel> |
Type Parameters
Name | Description |
---|---|
TPixel | The pixel type. |
Overrides
SixLabors.ImageSharp.Processing.Processors.Filters.FilterProcessor.CreatePixelSpecificProcessor<TPixel>(SixLabors.ImageSharp.Configuration, SixLabors.ImageSharp.Image<TPixel>, SixLabors.ImageSharp.Rectangle)