RasterImage.Save method

Saves the image’s data to the specified stream in the specified file format according to save options.

public override void Save(Stream stream, ImageOptionsBase optionsBase, Rectangle boundsRectangle)
Parameter Type Description
stream Stream The stream to save the image’s data to.
optionsBase ImageOptionsBase The save options.
boundsRectangle Rectangle The destination image bounds rectangle. Set the empty rectangle for use source bounds.

See Also