Comments (3)
Hi yand,
example3 doesn't compress to .zip files, it outputs raw zlib-style streams
which can't be opened by WinZip/WinRAR/7zip (as far as I know) because zlib
streams aren't archives. example2 outputs a test .zip file with a bunch of text
files that can be opened by KDE Dolphin, WinZip, 7zip, etc.
Original comment by [email protected]
on 7 Aug 2013 at 9:32
from miniz.
hi,richge
thanks for your reply. another question,i want to know how to modify source
miniz.c to make it support compress the folder.
BTW,can you give some information about the compress alogorithm?(such as
function tdefl_compress_normal),it is diffcult to understand your alogrithm by
miniz.c
Original comment by [email protected]
on 15 Aug 2013 at 8:41
from miniz.
Hi yand789,
The algorithm is described here:
http://en.wikipedia.org/wiki/DEFLATE
Also Google for "RFC 1950".
To compress a folder, you would need to find the files somehow (using
FindFiles() under Win32, etc.) and compress each file individually using miniz.
miniz.c itself only handles the low-level stuff.
Regards,
-Rich
Original comment by [email protected]
on 13 Oct 2013 at 5:30
- Changed state: Fixed
from miniz.
Related Issues (20)
- PATCH: Add allocation and free functions to allocate compressor/decompressor structures HOT 2
- PATCH: Undefined symbols for 64-bit variants of stdio functions on Mac OS X
- Compiler warnings on strict aliasing HOT 1
- enumeral and non-enumeral type in conditional expression
- Windows "Extract All..." functionality doesn't like tiny files in zip files created by miniz
- Suggestion: Filter parameter for tdefl_write_image_to_png_file_in_memory()
- [PATCH] supports armcc
- Support for reading archive comments
- mz_zip_writer_add_file does not support directory
- Remove archived file from central directory
- Wrong number of files returned for more that 65535 entries HOT 1
- Can not be used as drop-in replacement for zlib with libpng
- Multiple linker errors in VisualStudio HOT 1
- Extract all files from zip without knowing their names.
- Compress a folder
- Package Pre-Built Binaries Separately
- API to delete a file from zip
- Has anyone got it working on android devices (arm based platforms) HOT 5
- Add support for zips with extra data embedded at the front
- Example 6 completely broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miniz.