Saves this image as a Png to the specified filename with the given
pixelFormat.
Namespace: ImageSenseAssembly: ImageSense (in ImageSense.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static void SavePng( this Image image, string filename, PixelFormat pixelFormat ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub SavePng ( _ image As Image, _ filename As String, _ pixelFormat As PixelFormat _ ) |
Visual C++ |
---|
[ExtensionAttribute] public: static void SavePng( Image^ image, String^ filename, PixelFormat pixelFormat ) |
Parameters
- image
- Type: System.Drawing..::..Image
The image to save.
- filename
- Type: System..::..String
The file where the image will be saved.
- pixelFormat
- Type: System.Drawing.Imaging..::..PixelFormat
The pixel format to use in the saved image.