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