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 |
The operation to perform on the image. |
| pathModifier | Func |
Modifies the destination path after applying the operation. |
Return Value
| Type | Description |
|---|---|
| MutateImage | The current module instance. |