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
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. -- Best regards, Andreas Falkenhahn mailto:andreas%falkenhahn.com@localhost
Made by MHonArc.