pako
high speed zlib port to javascript, works in browser & node.js (by nodeca)
WASM-ImageMagick
Webassembly compilation of https://github.com/ImageMagick/ImageMagick & samples (by KnicKnic)
Our great sponsors
pako | WASM-ImageMagick | |
---|---|---|
6 | 8 | |
5,295 | 835 | |
0.8% | - | |
0.6 | 0.0 | |
about 1 year ago | 6 months ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
pako
Posts with mentions or reviews of pako.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-30.
-
Gzip library for client-side compression
try pako
-
Storing State in the URL
A trick I've used on top of serializing JSON in the URL is in-browser compression with a library like pako [0] (zlib in JavaScript). This helps you get more data in before you reach the browser limit for URL length.
[0] https://github.com/nodeca/pako
-
Browsers can do that?
Another operation that is sometimes desired is to take several files and give the user a compressed file. There are actually a surprisingly large amount (jszip, pako) of client side options here, but my favorite so far when it comes to speed, size and working with .zip has been fflate. But if you'd like to work with other formats, there are also libraries to decompress 7-Zip, RAR & TAR.
-
Major updates for bundle.js.org v0.0.3
I used monaco-editor for the code-editor, esbuild and rollup as bundler and treeshaker respectively, pako as a js port of the zlib and gzip libraries, pretty-bytes to convert the gzip size to human readable values, and countapi-js to keep track of the number of page visits, in a private and secure way.
-
Interacting with usernotes outside of toolbox
Just wanted to let you know the most current version of pako does not work with the example on the wiki page. It errors out with "unknown compression format". I had to use the version found in Toolbox lib folder in order to get the example from the wiki page to work.
-
298 App Lab apps in a Steam-like filter system
Uncompressing should be straightforward with pako.js.
WASM-ImageMagick
Posts with mentions or reviews of WASM-ImageMagick.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-05.
-
Easy boxart resizing with imagemagick in your browser. No install, no CLI!
Credit: Go check it out the GitHub project page thanks to Nick Maliwacki's (KnicKnic)
- Show HN: Edit images in the browser using GPT-3 and WebAssembly
- Web Assembly ImageMagick
-
WebAssembly in my Browser Desktop Environment
Image Conversion via WASM-ImageMagick
- Native JS replacement for imagemagick?
-
Pushing The Limits Of The Modern Browser
I've gone with ImageMagick ported to WebAssembly to do basically the exact same things as with FFMpeg, but with a tiny bit less locking up. In the future I would like to get these things running in multithreaded Web Workers as well as have the ability to easily configure transcode settings to whatever is desired instead of the defaults as it is now.
-
Browsers can do that?
When it comes to audio/video the trusted tool that is often used on the desktop is FFmpeg and this too has been ported to run in the browser, although if you want multithreading you will need to make sure you have special CORS headers enabled to gain access to the SharedArrayBuffer. For images on desktop there is the popular ImageMagick which indeed also has been ported.
-
Resizing and Compressing Photos Before Upload to Django
ImageMagick is the go to for these kinda things and apparently there is a WASM version: https://github.com/KnicKnic/WASM-ImageMagick
What are some alternatives?
When comparing pako and WASM-ImageMagick you can also consider the following projects:
JSZip - Create, read and edit .zip files with Javascript
magick-wasm - The WASM library for ImageMagick
fast-zlib - Shared context synchronous compression
ffmpeg.wasm - FFmpeg for browser, powered by WebAssembly
decompress-zip - Module that decompresses zip files
wapm-cli - 📦 WebAssembly Package Manager (CLI)
fflate - High performance (de)compression in an 8kB package
Ionic Framework - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Archiver - a streaming interface for archive generation
decompress - Extracting archives made easy
daedalOS - Desktop environment in the browser