I cane seem to get the revert function to work on Pixastic. What am I missing here??
function set_fx( bri, con){
$("#working-pic").pixastic("brightness",{brightness:bri,contrast:con});
}
function fx_reset() {
Pixastic.revert($("#working-pic"));
}
Adding [0] made a big difference. Definitely did the trick for me. Give it a try
Another thing is i had to create a VAR as pixastic creates a duplicate canvas. This is my whole function: