[]
Saves the image to a System.IO.Stream using the specified format and options.
public void Save(Stream stream, ContainerFormat format, BaseOptions options = null)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The output stream. |
| ContainerFormat | format | The container format that determines the image encoder. |
| BaseOptions | options | The options for the specified image encoder. |
Saves the image to a file using the specified format and options.
public void Save(string fileName, ContainerFormat format, BaseOptions options = null)
| Type | Name | Description |
|---|---|---|
| string | fileName | The output file name. |
| ContainerFormat | format | The container format that determines the image encoder. |
| BaseOptions | options | The options for the specified image encoder. |