Hacker News new | ask | show | jobs
Show HN: A bulk image compression service (captaindavinci.github.io)
7 points by CaptainDaVinci 887 days ago
Hi, so over the weekend I built a free to use service to compress one or more images using MozJEPG encoding enabled via WASM.

It's a static site, all the processing happens on the client side, no file uploads or sign-ups needed!

Why? The existing services are either filled with ads or require you to sign-up / pay.

would greatly appreciate any feedback! TIA!

3 comments

Well done. SVGs can be selected in the file picker, but the compressor doesn't seem to support them. You should probably further limit the selection to raster formats.
Thank you for the feedback! Did not notice that, I've now restricted it to accept .jpeg, .jpg, .png files.
Can you add a checkbox for lossy vs lossless compression? If you are doing lossy compression on PNGs, might as well change it to a non-png file. FYI, there are great lossless PNG compression algorithms out there - PNGcrush, oxipng, etc. ImageOptim has a bunch built-in.
I'll be working on adding oxipng for encoding PNG formats. Thanks for the suggestion!
I know Sqoosh already exists but I guess that doing bulk is more useful