Description
This demo shows the basic usage of the
AlphaJpg-WebGL.js
library. A specially crafted
jpg image
is loaded from the website's domain. It's alpha transparency is reconstructed
using WebGL. The returned canvas element is attached to the DOM.
The canvas is wrapped in two div elements and styled so that it behaves like
a responsive image.
Support
This technique requires Javascript and
WebGL support.