Summary
Allows you to specify an alternate output format for the image.
For example, you might use this if you want to full specify the encoder and it's properties.
This will override the default behavior of outputting the image as the same format.
- Assembly
- Wyam
.Images .dll - Namespace
- Wyam
.Images - Containing Type
- Image
Syntax
public Image OutputAs(Action<Image, Stream> action, Func<FilePath, FilePath> pathModifier = null)
Parameters
Return Value
Type | Description |
---|---|
Image | The current module instance. |