javascript - How to save image after edit in php -


i have create simple image editor effects of brightness, contrast, , desaturation etc. have used pixastic functions www.pixastic.com. function working don't know how replace original image adjusted image, effects. here code have used

<script> var pixastic_parseonload = true; </script> <script src="pixastic.core.js" type="text/javascript"></script> <script src="actions/desaturate.js" type="text/javascript"></script> <body> <form name="form1" action="index.php" enctype="multipart/form-data" method="post"> <p>image use:</p> <img id="scream" class="pixastic <?php echo @$_post["butn1"];?>" src="desert.jpg" alt="the scream" width="220" height="277" name="image1"> <button value="pixastic-desaturate()" name="butn1" >desaturate</button> </form> </bode> 

maybe need change this:

<button value="pixastic-desaturate()" name="butn1" >desaturate</button> 

with this:

<input type="button" name="pixastic-desaturate" value="click process image" onclick="pixastic-desaturate();"> 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -