Visual Basic (Declaration) | |
---|---|
Public Property QualityFactor As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsJpegSaveOptions Dim value As Integer instance.QualityFactor = value value = instance.QualityFactor |
C# | |
---|---|
public int QualityFactor {get; set;} |
Property Value
The Quality Factor to use when saving JPEG and LEAD CMP compressed images.For an example, refer to CodecsJpegOptions.
You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression.
You can also use a factor of 0 to produce lossless JPEG files.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)