Mind blown: I just compiled libwebp to wasm using Emscripten. I can now transcode images to WebP _in the browser_.
Total payload: 180KB.
I guess I should do a write-up
pic.twitter.com/BhSYdERCvg
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
There’s no way to control the quality level (and thus the resulting file size), though. You can turn a canvas into a PNG data URL the same way, but the end result won’t be optimized… at all.
this works with quality. probably chrome-only, thoughpic.twitter.com/qdocksdaDU
Yeah, @jaffathecake @kosamari @mathias and I are working on something image-edity so we kinda need cross browser support for many formats. Hence wasm
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.