This a simple example of the threaded jpeg encoder. It uses a web worker for encoding. Set a quality value between 1 and 100 and click encode.

Example

Original
JPEG compressed
 % (1-100) 
Console output:

Back to article