Saves this image as an indexed image to the specified stream
with the given pixelFormat.
Namespace: ImageSenseAssembly: ImageSense (in ImageSense.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static void SaveIndexed( this Image image, Stream stream, ImageFormat imageFormat, PixelFormat pixelFormat ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub SaveIndexed ( _ image As Image, _ stream As Stream, _ imageFormat As ImageFormat, _ pixelFormat As PixelFormat _ ) |
Visual C++ |
---|
[ExtensionAttribute] public: static void SaveIndexed( Image^ image, Stream^ stream, ImageFormat^ imageFormat, PixelFormat pixelFormat ) |
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 image format for the saved image.
- pixelFormat
- Type: System.Drawing.Imaging..::..PixelFormat
The pixel format to use in the saved image.