Gets and sets the number of passes when saving progressive JPEG and LEAD CMP images.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Passes As Integer |
C# | |
---|
public int Passes {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_Passes();
public: __property void set_Passes(
int value
); |
C++/CLI | |
---|
public:
property int Passes {
int get();
void set (int value);
} |
Return 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
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also