title: Resize image with javascript and save to disk
body: <p>I was trying to upload resized image done by JavaScript to server.<br>
  So I tried to set file input with resized image.<br>
  After that I came to know <a href="https://stackoverflow.com/questions/1696877/how-to-set-a-value-to-a-file-input-in-html">we cannot change file input unless user select file</a><br>
  Now I am trying to ask user to save the resized image to his local disk  so that he can reattach the file.<br>
  My question is :How I can save the resized image done by JavaScript to local disk.</p>