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: (.NET 4.5.2, x86)
public int Save(
	Stream stream,
	ImageEncoder encoder,
	ProgressEventHandler progress


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.
Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder which will be used to encode the image.
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)"]

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