JPEllucent is an encoder and JavaScript decoder for lossy compression of images with transparency.

Below is a demo of its output, along with file size comparisons.

Click and hold on any image to show the original version.

Dice image used under Creative Commons CC BY-SA 3.0 (original source)

Original (uncompressed)


Size: 168.1KB (optimized with pngout)

Color: 85; Alpha: 60 (default)


Size: 46.8KB (33.7KB gzipped = 20%)

Color: 99; Alpha: 99


Size: 211.4KB (155.7KB gzipped = 93%)

Color: 90; Alpha: 90


Size: 84.7KB (61.4KB gzipped = 37%)

Color: 60; Alpha: 30


Size: 29.1KB (20.7KB gzipped = 12%)

Color: 20; Alpha: 20


Size: 17.0KB (11.6KB gzipped = 7%)