adamhathcock / sharpcompress

SharpCompress is a fully managed C# library to deal with many compression types and formats.
MIT License
2.29k stars 482 forks source link

Allow setting ppmd PpmdProperties for ZipWriter #599

Open TalonsLee opened 3 years ago

TalonsLee commented 3 years ago

It seems that zipwriter always use default PpmdProperties (https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/Zip/ZipWriter.cs#L25).

can we add a mapping from compressionLevel to proper PpmdProperties ?

adamhathcock commented 3 years ago

I'll merge any reasonable PR for this