.tar.bz2 and .tar.gz compression level #541

Open
opened 2026-01-29 22:13:29 +00:00 by claunia · 1 comment
Owner

Originally created by @laraaj on GitHub (Oct 20, 2022).

Hi,

Is it possible to specify the compression level for .tar.bz2 and .tar.gz ?
if yes how can we do that ?
if it's not supported, what's the default compression level for those formats ?

Originally created by @laraaj on GitHub (Oct 20, 2022). Hi, Is it possible to specify the compression level for .tar.bz2 and .tar.gz ? if yes how can we do that ? if it's not supported, what's the default compression level for those formats ?
Author
Owner

@adamhathcock commented on GitHub (Oct 21, 2022):

Currently, you can't specify levels at the factory interface level as they're not generic inputs. You'll have to manually use the streams.

Please check the code if you want to know defaults. PRs are welcomed that expand the generic factory with more options.

@adamhathcock commented on GitHub (Oct 21, 2022): Currently, you can't specify levels at the factory interface level as they're not generic inputs. You'll have to manually use the streams. Please check the code if you want to know defaults. PRs are welcomed that expand the generic factory with more options.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#541