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:

http://jsfiddle.net/pcbvb/7/

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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -