precomp-cpp
p7zip
Our great sponsors
precomp-cpp | p7zip | |
---|---|---|
14 | 13 | |
387 | 735 | |
- | 2.2% | |
0.0 | 0.0 | |
about 2 months ago | 6 months ago | |
C | C | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
precomp-cpp
- Any suggestion for compressing a large batch of photos and videos into a single zip?
-
Putting 5,998,794 books on IPFS
You can also have a look at this packer. It compresses PDF and EPUB 2-3 times smaller than 7z at maximum settings, at half the speed. I keep all my books in it and never had a problem.
-
AWS switch from gzip to zstd – about 30% reduction in compressed S3 storage
There are tools like preflate [1] or precomp [2] that guarantees a bitwise identical reconstruction, of course modulo bugs.
[1] https://github.com/deus-libri/preflate
[2] https://github.com/schnaader/precomp-cpp/ (which internally makes use of preflate)
-
Is there any research as to what's the best way to compress each file type?
Precomp http://schnaader.info/precomp.php is a program which will seek compressed parts and decompress those parts in order to compress with another algorithm. This greatly improve compression ratio with the other algorithm.
-
Attempting to re-create / replicate an archive made years ago with an unknown application, which is no longer complete on a file-sharing network
https://github.com/schnaader/precomp-cpp Maybe some tools posted in https://encode.su/threads/1399-reflate-a-new-universal-deflate-recompressor Maybe something has to be developed specifically for your task.
-
7-Zip 21.0 alpha introduces native Linux support
While we are at it, there is precomp, specifically created to compress files that are internally a zip archive themselves (odt, docx, pdf, epub, etc. etc.).
- Help me out with some compression tips
p7zip
-
Ubuntu 23.04 (Lunar Lobster)
nearly every main distro I am aware of has both available. The reason you still see p7zip is because the CLI incompatibilities vs the newer 7z/7zip executables and the general licensing issues. Most users of "old p7zip" are actually using the actively maintained https://github.com/p7zip-project/p7zip which is updated, supporting unix permissions and zstd and so on.
-
7-zip 22.00 – APFS, Posix TAR, high precision timestamps
Thank you for pointing this out! This is the source of much confusion. Although Arch for example uses https://github.com/jinfeihan57/p7zip which seems to be reasonably maintained?
-
Replace p7zip with upstream 7-Zip
Then you can compile p7zip from source: $ mkdir p7zip-git $ cd p7zip-git $ git clone https://github.com/jinfeihan57/p7zip .
There is a newer fork of p7zip https://github.com/jinfeihan57/p7zip It's last release was (Apr 04, 2021) and was v17.04
- Don't Use RAR
-
TIL there's a fork of the unmaintained p7zip port of 7-Zip
The p7zip port of 7-Zip is several releases behind and the project seems to be abandoned. I discovered this when a large archive failed to extract with Engrampa which uses it. It reported a "Headers Error" which is due to a compatibility problem between zip format implementations. 7-Zip has a fix but the port doesn't. But there's a fork on GitHub which is being actively maintained. Check it out.
-
7-Zip 21.0 alpha introduces native Linux support
this comment might clarify that.
What are some alternatives?
7-Zip-zstd - 7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard
NanaZip - The 7-Zip derivative intended for the modern Windows experience
7z - Because 7-zip source code was in a 7z archive [mirror]
libarchive - Multi-format archive and compression library
PDF-Writer - High performance library for creating, modiyfing and parsing PDF files in C++
engrampa - A file archiver for MATE
fast-lzma2 - Fast LZMA2 Library
clawPDF - Open Source Virtual (Network) Printer for Windows that allows you to create PDFs, OCR text, and print images, with advanced features usually available only in enterprise solutions.
pixz - Parallel, indexed xz compressor
xdelta - open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
mcm - MCM file compressor
reedsolomon - Reed-Solomon Erasure Coding in Go