WorkspaceSave Method (String, ImageEncoder, Int32) |
Writes the current %AtalaImage% or %ImageCollection% to a file specifying the
ImageEncoder
to use to encode the image and the image index in the collection to save.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Save(
string fileName,
ImageEncoder encoder,
int frameIndex
)
Public Sub Save (
fileName As String,
encoder As ImageEncoder,
frameIndex As Integer
)
Parameters
- fileName
- Type: SystemString
The filename to save the current image to. - encoder
- Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder which will be used to encode the image. - frameIndex
- Type: SystemInt32
The index in the ImageCollection to save.
Remarks This method can be used to save an image to an FTP server. If the fileName is pointing to an FTP
server, you may need to include the username and password in the URL to allow the file to be saved.
Saving an image with this method when the Workspace is in synchronous mode will add
this operation to the ProcessQueue and save Asynchronously.
Remarks Saving an image with this method when the Workspace is in %Asynchronous% mode will add
this operation to the %ProcessQueue% and save Asynchronously.
See Also