This project is read-only.

Very slow compression with "bestspeed" level VB.NET

May 29, 2012 at 7:51 PM
Edited May 29, 2012 at 7:56 PM


I try to compress a PDF file of 3.5 MB with this code (2010):

Using zip As ZipFile = New ZipFile()
  zip.AddFile("c:\serveur\clusif.pdf", "")
  zip.CompressionLevel = Zlib.CompressionLevel.BestSpeed
End Using

Result: 2 minutes 10 but with winrar some few secondes

With stream it the same result, very long time.

If you have an idea to boost ?