G2CSS converts gradient images to CSS gradients in the browser.
G2CSS makes heavy use of Billy Hoffman's ImageG2CSS's code which, in turn, is based on Philip Tellis' pngtocss. Thanks to both!
G2CSS requires a browser that supports the File API. It currently works in Chrome and Firefox 4. The CSS Gradient example box doesn't work in FF.
Original code copyright 2011 passive.ly LLC.
Licensed under BSD.