Saves this image to the specified stream with the given
imageFormat.
Namespace: ImageSenseAssembly: ImageSense (in ImageSense.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static void SaveImage( this Image image, Stream stream, ImageFormat imageFormat ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub SaveImage ( _ image As Image, _ stream As Stream, _ imageFormat As ImageFormat _ ) |
Visual C++ |
---|
[ExtensionAttribute] public: static void SaveImage( Image^ image, Stream^ stream, ImageFormat^ imageFormat ) |
Parameters
- image
- Type: System.Drawing..::..Image
The image to save.
- stream
- Type: System.IO..::..Stream
The stream where the image will be saved.
- imageFormat
- Type: System.Drawing.Imaging..::..ImageFormat
The format to use in the saved image.