javascript - Pixastic: Effects not working -
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>untitled document</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="pixastic.custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#image').pixastic("desaturate"); }); </script> </head> <body> <img id="image" src="test2.jpg"/> </body> </html>
this code i'm working , when load page in browser, image not desaturate. can please me rectify what's wrong code!
ok, caman not working out?
heres , example of desaturate filter working:
things bear in mind pixastic:
(1) should try : $(whatever).pixastic("desaturate",{average : false});
(average:false bit)
(2) canvas works when image on same domain script using it.
hope helps.
alex
Comments
Post a Comment