SaveImage(String,ImageFormat,Boolean) Method
Kaliko.ImageLibrary Namespace > KalikoImage Class > SaveImage Method : SaveImage(String,ImageFormat,Boolean) Method |
Image format to save the file in, for example ImageFormat.Tiff
Save original/user-defined resolution
Generic method that will save the image in the specified ImageFormat.
Syntax
'Declaration
Public Overloads Sub SaveImage( _ ByVal fileName As String, _ ByVal format As ImageFormat, _ ByVal saveResolution As Boolean _ )
public void SaveImage( string fileName, ImageFormat format, bool saveResolution )
Parameters
- fileName
- format
- Image format to save the file in, for example ImageFormat.Tiff
- saveResolution
- Save original/user-defined resolution
Example
// Save image to file system in the selected format image.SaveImage(@"C:\MyImages\Output.tif", ImageFormat.Tiff, true);
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2