LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

Passes Property (CodecsJpegSaveOptions)






Gets and sets the number of passes when saving progressive JPEG and LEAD CMP images. .NET support WinRT support Silverlight support
Syntax
public int Passes {get; set;}
'Declaration
 
Public Property Passes As Integer
'Usage
 
Dim instance As CodecsJpegSaveOptions
Dim value As Integer
 
instance.Passes = value
 
value = instance.Passes
public int Passes {get; set;}
 get_Passes();
set_Passes(value);
public:
property int Passes {
   int get();
   void set (    int value);
}

Property Value

The number of passes (scans through the image) when saving a progressive JPEG or LEAD CMP file.

Value Meaning
Any positive number > 1. Save the file as a progressive file with the specified number of passes.
1 Save a regular file with optimized Huffman tables. Use this for smaller file size (at the expense of speed).
0 Save the file as an ordinary JPEG or LEAD CMP file (not a progressive file).
Any negative number. Save the file as a progressive file with the LEADTOOLS default number of passes.
Example
For an example, refer to CodecsJpegOptions.
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

Reference

CodecsJpegSaveOptions Class
CodecsJpegSaveOptions Members
Controlling Progressive Loads and Saves
CodecsLoadOptions.Passes
Compression Using LEAD and JPEG Formats

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.