We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mimic 7Zip compression "Ultra" setting

Hi,

When compressing with 7Zip, it has the “Ultra” option under the compression setting (when used via command line that would be -mx9)
I do not see an option for the ultra compression when using Aspose.Zip.SevenZip.SevenZipArchive

Am I overlooking something?

Thanks,

There are not such an feature. Aspose.Zip does not resembles 7-zip here. The only option you can set for LZMA2 compression is dictionary size.
If you need such a feature we may consider to provide it.

Yes, this feature should be implemented.
As Aspose contains the Aspose.Zip.SevenZip.SevenZipArchive class to create 7Z files, if it offered the same compressions features like 7-Zip.org, then Aspose’s implementation of 7Zip would be a suitable replacement for using 7-Zip.org.

From my understanding, when I read that Aspose offered the 7Z class it was my impression that it offered the same compression as the freely available 7-Zip.org.

Please read more about that feature here:

Thanks

Ok, will provide advanced settings for LZMA2 method in some release later.

@AroundLilac
There is an enhancement: since version 22.8 you can set the number of fast bytes for LZMA2 compression. Find out correspondent SevenZipLZMA2CompressionSettings constructor.