-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to reset #1
Comments
Well all I can say is that : " { animateTo: value }, 'slow' " is not a set of parameters accepted by the philter plugin. What is the goal of your "#Reset" button ? ...But don't forget to use $('#largeImage').philter('save'); prior to any call to philter. I give you a complete example :
|
$('#largeImage').philter('save'); will this save the changes i made to the file? one more thing, can add one more filter to the list, Pseudocolor, you can see it in grafis.js your help will be highly appreciated |
$('#largeImage').philter('save'); is use to save to current image content into an internal buffer. when $('#largeImage').philter('restore'); is called, the internal buffer is copied back to the visible image. Well, you cannot add custom filters at the moment, but I may add this feature soon. thank you. |
sir, the code is not working at all if add a new button "save" //var value = 0;
}); |
any update on my request? |
I need to see all your code including html. |
Well not all your code but at least the context html with the referenced elements ("save" "largeimage" etc.) |
i would like to appreciate your work.
simply awesome.............
here is my code
<script> ``` var value = 0 $(document).ready(function () { $("#sharp").click(function () { $("#largeImage").philter('sharpen'); }) $('#Reset').click( function () { value = 0 $('#largeImage').philter({ animateTo: value }, 'slow'); }) }); ``` but on resert button click .....it is not going back to its original image. please help me ThanksThe text was updated successfully, but these errors were encountered: