Method Save
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
Save(Stream)
Saves this MaaFramework.Binding.MaaImage to the specified stream
.
public void Save(Stream stream)
Parameters
stream
Stream-
The stream to save the image to.
Exceptions
- MaaInteroperationException
-
The MaaFramework.Binding.MaaImage.Buffer is disposed.
Save(string)
Saves this MaaFramework.Binding.MaaImage to the specified file.
public void Save(string filename)
Parameters
filename
string-
The filename to save the image to.
Save(IMaaImageBuffer)
Saves this MaaFramework.Binding.MaaImage to the specified buffer
.
public void Save(IMaaImageBuffer buffer)
Parameters
buffer
IMaaImageBuffer-
The buffer to save the image to.
Exceptions
- ArgumentNullException
- MaaInteroperationException
-
The
buffer
is disposed.