Struct zopfli_rs::Options [] [src]

pub struct Options {
    pub verbose: bool,
    pub verbose_more: bool,
    pub iterations: i32,
    pub block_splitting: bool,
    pub block_splitting_max: i32,
}

Options used to tweak optimization versus speed of compression.

Fields

Prints statisitcs on compression to the console. Default: false.

Prints other statisitcs on block splitting et cetra to the console. Default: false.

Maximum amount of times to rerun forward and backward pass to optimize LZ77 compression cost. Good values: 10, 15 for small files, 5 for files over several MB in size or it will be too slow. Default: 15.

If true, splits the data in multiple deflate blocks with optimal choice for the block boundaries. Block splitting gives better compression. Default: true.

Maximum amount of blocks to split into (0 for unlimited, but this can give extreme results that hurt compression on some files). Default: 15.

Trait Implementations

impl Copy for Options
[src]

impl Clone for Options
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Options
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Options
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Options

impl Sync for Options