Click or drag to resize

JpegXrEncoderSave Method

Save an image using this encoder.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public override long Save(
	Stream stream,
	AtalaImage image,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
A stream containing the file which the image will be encoded to.
image
Type: Atalasoft.ImagingAtalaImage
The image to save.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).

Return Value

Type: Int64
The number of bytes written to the file.
Exceptions
ExceptionCondition
ArgumentNullException stream or image
ArgumentException The stream must have write access.;stream or The stream must be seekable.;stream
See Also