Closed wesleywu closed 10 years ago
Although I think this would be a great feature, this Lua library simply wraps NIH's libzip, and I don't see any option that allows you to modify the compression level: http://www.nih.at/libzip/zip_file_add.html
If you do find a way to modify the compression level, let me know and I would gladly modify the lua binding to allow for such an option. If you really want this feature, perhaps you can request if from NIH?
Hi ! It seems that this feature has been implemented now. See zip_set_file_compression. Can you add it too to your binding ? Thanks a lot !
Sometimes I need to add mp3/jpg files into a zip archive. Maybe adding files as NO_COMPRESS will save some CPU time.