Description
This demo shows the usage of the
AlphaJpg-WebGL.js
library. A specially crafted
jpg image
is loaded from an external 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,
WebGL support.
and an external server that is capable of delivering
CORS enabled images.