lepton
libzim
lepton | libzim | |
---|---|---|
5 | 3 | |
5,001 | 158 | |
- | 0.6% | |
1.8 | 8.6 | |
over 1 year ago | 2 days ago | |
C++ | C++ | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
lepton
-
JPEG XL: How It Started, How Itβs Going
JPEG XL can losslessy transcode JPEG into a smaller format. JPEG2000 (or WebP or anything but Lepton[0]) didn't offer that. Besides, we have gif and png for approximately the same space. gif still isn't gone. Displacement isn't necessary for a new format to become useful.
[0] https://github.com/dropbox/lepton
- Jpeg Compression with Dropbox's Lepton
-
Too bad this isnβt digitized. Would totally hoard it!
We also use https://github.com/dropbox/lepton to save disk storage. It give 20% saving in our experience.
-
Questions about establishing a photography backup/storage system
It may not be directly related to your question, but Dropbox has developed a great open source software called Lepton. It is able to compress JPEGs losslessly and saves on average about 22% of storage space. The files are not readable after compression without decompression, but since your focus seems to be on archiving anyway, it might be handy. And for larger collections of high-resolution images, it can actually save a decent amount of storage space.
-
AVIF support enabled by default in Firefox 86
Just wondering, is there a "lossless" conversion from PNG/JPEG/etc to AVIF? Kinda like Lepton[1] but just re-compressing without further loss of details.
[1] https://github.com/dropbox/lepton
libzim
-
WikiReader
I meant the Kiwix dump (https://download.kiwix.org/zim/wikipedia_en_all_nopic.zim β careful, 60GB!).
At a first glance, the Wikimedia XML dump does not look substantially different from what Kiwix/ZIM does with compressed HTML: They're both compressed (bz2 for the Wikimedia dump, zstd or LZMA for Kiwix/ZIM), and both compress multiple files at once, so inter-file redundancy should hopefully be significantly reduced.
HTML seems a bit more verbose than the Mediawiki syntax (plus the XML header for each article), but I'd be surprised if that actually accounted for a 3x difference in size.
Then again, Kiwix seems to have experimented with shared dictionary brotli compression, which supposedly yields an >2x improvement: https://github.com/openzim/libzim/issues/144
I wonder if their current zstd implementation also uses shared dictionaries. If not, that might just be the reason: If ZIM compression chunks are much smaller than the bz2 streams of the Wikimedia dumps, there would still be a lot of redundancy between chunks.
-
Libzim now has an official WebAssembly build target... why this is big (for us)!
This is low-level stuff, but the new release of the backend that powers Kiwix clients, libzim 8.1.0 (changelog), now targets WebAssembly (a.k.a. WASM). This is big because it potentially brings the full powers of the Kiwix backend to Web apps such as Kiwix JS and Kiwix JS PWA/Electron. Up till now, these apps have relied on a custom JS port of parts of libzim, but it lacked full features, such as Full Text search. So, you will begin to see us integrating new features into the Web versions soon!
-
Most downloads of the entire Wikipedia per country
I'm doing my part o7
It's seriously a very interesting and useful dataset that you can do a lot of fun stuff with, if you grab one of the zims without pictures it's of very manageable size too of just a few dozen gigabytes compressed, and there are reasonably good library support in many languages.
Last point doesn't go for Java. Only one I could find for that was this <https://github.com/openzim/libzim>, it's antique and extremely poorly optimized and lacks support for newer compression schemes. I have fixed the performance and added support for zstd compression, but not published the code as it's extremely not finished and major features in the original codebase are very broken. I'll get around to sharing the code some day but right now it's basically permanently mid surgery as I've only patched so far as to get it to extract all or specific files. If anyone wants a copy of this code regardless of state, give me a holler.
What are some alternatives?
brunsli - Practical JPEG Repacker
meshoptimizer - Mesh optimization library that makes meshes smaller and faster to render
ImageMagick - π§ββοΈ ImageMagick 7
zim-tools - Various ZIM command line tools
zpaqfranz - Deduplicating archiver with encryption and paranoid-level tests. Swiss army knife for the serious backup and disaster recovery manager. Ransomware neutralizer. Win/Linux/Unix
wikipedia-mirror - π Guide and tools to run a full offline mirror of Wikipedia.org with three different approaches: Nginx caching proxy, Kiwix + ZIM dump, and MediaWiki/XOWA + XML dump
kanzi-cpp - Fast lossless data compression in C++
kiwix-tools - Command line Kiwix tools: kiwix-serve, kiwix-manage, ...
Racjin-de-compression - Compression and decompression algorithms used in old PS2/PSP/Wii games by Racjin
Lepton - π» Democratizing Snippet Management (macOS/Win/Linux)
compressonator - Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
libkiwix - Common code base for all Kiwix ports