Wirtuals.pl – PHP, XML, (x)HTML, JavaScript (AJAX), CSS

17Dec/10Off

Grayscale

Grayscale.js is an experimental attempt to emulate Microsoft's proprietary 'grayscale' filter (available in most IE versions).

Successfully tested in Opera 9, FF2/3, Safari 4, IE6/7. It only works slightly in Safari<4 and Chrome because of their lacking support of CanvasContext.getImageData (because of this, images cannot be grayscaled).

More info: http://james.padolsey.com/demos/grayscale/