List Archive
Thread
-
zip_set_file_compression() default compression lev,
Andreas Falkenhahn
(2017/11/11 13:46:18)
- Re: zip_set_file_compression() default compression, Thomas Klausner (2017/11/13 22:37:21)
Message
On Sat, Nov 11, 2017 at 02:46:26PM +0100, Andreas Falkenhahn wrote: > I think the manpage of zip_set_file_compression() level should mention > that it's possible to pass 0 in the flags parameter to use the default > compression level for the respective method. With deflate 0 seems to > be mapped to Z_BEST_COMPRESSION and with bzip2 0 seems to be mapped to > 9. > > Currently, the manpage of zip_set_file_compression() says that > "Allowed values are 1-9, other values are undefined". It should mention > that it's also possible to pass 0 to use the compressor's default > compression level. I've added documentation for '0' to the man page. Thank you! Thomas
Made by MHonArc.