0

It seems fast, what could be its compression level? Can it be changed?

I'm using FastZip so I can show a progressbar. I tried Peter Bromberg's sample code first, setting the compression level is possible, but don't have a sample code for progress event

McNeight
  • 21
  • 3
Hao
  • 8,047
  • 18
  • 63
  • 92

1 Answers1

1

Check out this http://community.sharpdevelop.net/forums/p/6835/19472.aspx

from JohnReilly:

Hi, FastZip and ZipFile dont currently support setting the compression level. They both use maximum compression. Cheers, -jr-

Sergey Mirvoda
  • 3,209
  • 2
  • 26
  • 30
  • 1
    I have a pull request pending that will add it to the repo. https://github.com/icsharpcode/SharpZipLib/pull/129 – Gandalf458 Aug 05 '16 at 23:30
  • 1
    It appears that FastZip supports setting the compression level now through the FastZip.CompressionLevel property. https://icsharpcode.github.io/SharpZipLib/help/api/ICSharpCode.SharpZipLib.Zip.FastZip.html – Blue Toque May 06 '20 at 17:59