Noemax.WCFX.Configuration Namespace > ContentNegotiationElement Class : CompressionLevel Property |
At compression level 1 the emphasis is on minimum consumption of resources, so the writer configures the compression algorithm for fast processing performance and low memory use.
At compression level 9 the emphasis is on maximum compression, so the writer configures the compression algorithm to produce the smallest compressed data size.
At intermediate compression levels the writer configures the compression algorithm to a provide a progressive transition between levels 1 and 9.
The efficiency of compression algorithms varies depending on the data to be compressed. It is possible that minimum consumption of resources will be provided by a compression level other than 1, and maximum compression by a compression level other than 9. It is suggested that you try specifying different compression levels to find out which one is most suitable for your use case and requirements.
Some compression algorithms cannot be configured. In such cases, specifying different compression levels has no effect.
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