Table of Contents

Class SwizzleExtensions

Namespace
SixLabors.ImageSharp.Processing
Assembly
SixLabors.ImageSharp.dll

Defines extensions that allow the application of swizzle operations on an Image

public static class SwizzleExtensions
Inheritance
SwizzleExtensions
Inherited Members

Methods

Swizzle<TSwizzler>(IImageProcessingContext, TSwizzler)

Swizzles an image.

public static IImageProcessingContext Swizzle<TSwizzler>(this IImageProcessingContext source, TSwizzler swizzler) where TSwizzler : struct, ISwizzler

Parameters

source IImageProcessingContext

The current image processing context.

swizzler TSwizzler

The swizzler function.

Returns

IImageProcessingContext

The IImageProcessingContext.

Type Parameters

TSwizzler

The swizzler function type.