Quality Property (WebpEncoderSettings)
In This Topic
Gets the compression quality. Between 0 and 100. For lossy, 0 gives the smallest size and 100 the largest. For lossless, this parameter is the amount of effort put into the compression: 0 is the fastest but gives larger files compared to the slowest, but best, 100. Defaults to 75.
Syntax
'Declaration
Public Property Quality As System.Int32
public System.Int32 Quality { get; set; }
public: __property System.Int32 get_Quality();
public: __property void set_Quality(
System.Int32
);
public:
property System.Int32 Quality {
System.Int32 get();
void set(System.Int32 );
}
Requirements
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
See Also