Click or drag to resize

ImageCollectionSave Method (Stream, ImageEncoder, ProgressEventHandler)

Save the images in this ImageCollection to a stream specifying the %ImageEncoder% to use for encoding the image data.

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. This stream must have FileAccess.ReadWrite set or else only the first image will be saved.
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

[Missing <returns> documentation for "M:Atalasoft.Imaging.ImageCollection.Save(System.IO.Stream,Atalasoft.Imaging.Codec.ImageEncoder,Atalasoft.Imaging.ProgressEventHandler)"]

Remarks
The ImageEncoder must have the IAppendable interface in order to save multiple images in one file.
See Also