This documentation is archived and is not being maintained.

Image.Save Method

Saves this image to the specified stream in the specified format.

Overload List

Saves this Image object to the specified file.

[Visual Basic] Overloads Public Sub Save(String)
[C#] public void Save(string);
[C++] public: void Save(String*);
[JScript] public function Save(String);

Saves this image to the specified stream in the specified format.

[Visual Basic] Overloads Public Sub Save(Stream, ImageFormat)
[C#] public void Save(Stream, ImageFormat);
[C++] public: void Save(Stream*, ImageFormat*);
[JScript] public function Save(Stream, ImageFormat);

Saves this Image object to the specified file in the specified format.

[Visual Basic] Overloads Public Sub Save(String, ImageFormat)
[C#] public void Save(string, ImageFormat);
[C++] public: void Save(String*, ImageFormat*);
[JScript] public function Save(String, ImageFormat);

Saves this image to the specified stream in the specified format.

[Visual Basic] Overloads Public Sub Save(Stream, ImageCodecInfo, EncoderParameters)
[C#] public void Save(Stream, ImageCodecInfo, EncoderParameters);
[C++] public: void Save(Stream*, ImageCodecInfo*, EncoderParameters*);
[JScript] public function Save(Stream, ImageCodecInfo, EncoderParameters);

Saves this Image object to the specified file, in the specified format, and with the specified codec parameters.

[Visual Basic] Overloads Public Sub Save(String, ImageCodecInfo, EncoderParameters)
[C#] public void Save(string, ImageCodecInfo, EncoderParameters);
[C++] public: void Save(String*, ImageCodecInfo*, EncoderParameters*);
[JScript] public function Save(String, ImageCodecInfo, EncoderParameters);

See Also

Image Class | Image Members | System.Drawing Namespace

Show: