SaveJpg(String,Int64) Method

Example 

Name of the file
Compression quality setting (0-100)
Save image to file in JPG-format.

Syntax

'Declaration
 
Public Overloads Sub SaveJpg( _
   ByVal fileName As String, _
   ByVal quality As Long _
) 
public void SaveJpg( 
   string fileName,
   long quality
)

Parameters

fileName
Name of the file
quality
Compression quality setting (0-100)

Example

// Save image to file system in jpg format with quality setting 90
image.SaveJpg(@"C:\MyImages\Output.jpg", 90);

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