Image.

Operation(Func<IImageProcessingContext, IImageProcessingContext>, Func<FilePath, FilePath>) Method

Summary

Allows you to specify your own ImageSharp operation.
Assembly
Wyam.Images.dll
Namespace
Wyam.Images
Containing Type
Image

Syntax

public Image Operation(Func<IImageProcessingContext, IImageProcessingContext> operation, Func<FilePath, FilePath> pathModifier = null)

Parameters

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

Return Value

Type Description
Image The current module instance.
GitHub