/wasm-jpeg-ijg

Demo from Chrome Dev Summit of using Web Assembly to optimize images in a browser

Primary LanguageCApache License 2.0Apache-2.0

JPEG codec in WASM demo

In-browser JPEG Codec demo for experimenting with different quality settings.

Prerequisites:

To build:

make

This will generate 'jpegsquash.js' and 'jpegsquash.wasm'. Load 'index.html' from a local web server and enjoy!

To build test harness:

make transcode

This builds a small test harness to transcode from the command line.

Licensed under the Apache License, version 2.0.

This is not an official Google product.