Operation(Func<IImageProcessingContext, IImageProcessingContext>, Func<NormalizedPath, NormalizedPath>) Method
Allows you to specify your own ImageSharp operation.
Namespace
Statiq.Images
Containing Type
MutateImage

Syntax

public MutateImage Operation(Func<IImageProcessingContext, IImageProcessingContext> operation, Func<NormalizedPath, NormalizedPath> pathModifier = null)

Parameters

Name Type Description
operation Func<IImageProcessingContext, IImageProcessingContext> The operation to perform on the image.
pathModifier Func<NormalizedPath, NormalizedPath> Modifies the destination path after applying the operation.

Return Value

Type Description
MutateImage The current module instance.