[]
Saves the image to a System.IO.Stream using the specified format and options.
public void Save(Stream stream, WicContainerFormat format, BaseOptions options = null)
Public Sub Save(stream As Stream, format As WicContainerFormat, Optional options As BaseOptions = Nothing)
Type | Name | Description |
---|---|---|
Stream | stream | The output stream. |
WicContainerFormat | 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, WicContainerFormat format, BaseOptions options = null)
Public Sub Save(fileName As String, format As WicContainerFormat, Optional options As BaseOptions = Nothing)
Type | Name | Description |
---|---|---|
string | fileName | The output file name. |
WicContainerFormat | format | The container format that determines the image encoder. |
BaseOptions | options | The options for the specified image encoder. |