SaveImage Method

Kaliko Image Library

Kaliko.ImageLibrary
SaveImage Method
Example 





Image format to save the file in, for example ImageFormat.Tiff
Generic method that will save the image in the specified ImageFormat.
Syntax
'Declaration
 
Public Sub SaveImage( _
   ByVal fileName As System.String, _
   ByVal format As System.Drawing.Imaging.ImageFormat _
) 
'Usage
 
Dim instance As KalikoImage
Dim fileName As System.String
Dim format As System.Drawing.Imaging.ImageFormat
 
instance.SaveImage(fileName, format)
public void SaveImage( 
   System.string fileName,
   System.Drawing.Imaging.ImageFormat format
)
public procedure SaveImage( 
    fileName: System.String;
    format: System.Drawing.Imaging.ImageFormat
); 
public function SaveImage( 
   fileName : System.String,
   format : System.Drawing.Imaging.ImageFormat
);
public: void SaveImage( 
   System.string* fileName,
   System.Drawing.Imaging.ImageFormat* format
) 
public:
void SaveImage( 
   System.String^ fileName,
   System.Drawing.Imaging.ImageFormat^ format
) 

Parameters

fileName
format
Image format to save the file in, for example ImageFormat.Tiff
Example
// Save image to file system in the selected format
image.SaveImage(@"C:\MyImages\Output.tif", ImageFormat.Tiff);
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

See Also

This documentation was created using Document! X from Innovasys