Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

How to create Image Input Levels(Output) ? I have Image on canvas...and i must correct it levels by created <input type="range" id="imageInputWhite" value="0" min="0" max="255" class="auto-bind"><br/>

share|improve this question
    
question is not clear –  Dreamwalker Jun 12 '13 at 10:11

1 Answer 1

Question is really a little unclear, but from what I read here:

  • Bind a change event listener against your range input
  • Be sure to setup a levels filter for your canvas image
  • On every change adjust the needed parameters of your filter
  • Call applyFilters after that
  • If needed call renderAll on the canvas.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.