SaaSHub helps you find the best software and product alternatives Learn more →
Top 4 Go image-compression Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Project mention: Image Transformation API "transformimgs" added support for JPEG XL | news.ycombinator.com | 2023-11-15
Project mention: Wazero: Zero dependency WebAssembly runtime written in Go | news.ycombinator.com | 2023-07-01Using WASM for things requiring low IO and high compute that are traditionally written in C/C++ makes a lot of sense to me. Image codecs are an example and native implementations for things like JPEG encoders are hard to come by. So, I used wazero to implement a few image codecs in Go^1. Codecs were compiled to WASM, and wazero works great for running them (albeit with overhead).
For this use case, wazero appears to be the cleanest solution as it's the only runtime that doesn't need CGo. The biggest appeal to me embedding WASM in Go is avoiding CGo to allow cross compilation. If my dependency is using CGo anyway, I might as well as link against a C library. I think native WASM runtimes like wazero are currently the best options for porting code language-agnostically.
^1: https://github.com/yklcs/wasmimg
Go image-compression related posts
- Image Transformation API "transformimgs" added support for JPEG XL
- Show HN: API to deliver responsive images for Web
- AVIF Images in iOS 16.0’s Safari
- [Code Review] Simple image compression using SVD decomposition
- What's your recommended image CDN?
- Pixxia - Compress your Images in Optimal Quality for FREE
- Pixxia - Complete Solution for Compression of JPG/PNG Images to save Storage Space..
-
A note from our sponsor - SaaSHub
www.saashub.com | 29 Apr 2024
Index
What are some of the best open-source image-compression projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | go-avif | 308 |
2 | transformimgs | 184 |
3 | imagecompression | 9 |
4 | wasmimg | 2 |
Sponsored