Click or drag to resize

AtalaImageSave Method (Stream, ImageEncoder, ProgressEventHandler)

Saves this AtalaImage to a Stream object specifying an ImageType.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public int Save(
	Stream stream,
	ImageEncoder encoder,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
A stream containing the file which the image will be encoded to.
encoder
Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder which will be used to encode the image.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in VB).

Return Value

Type: Int32
The number of bytes saved to the file.
See Also