recipe [Recipe]: Save Canvas content to File on server Save to File If you have some logic with images, drawing or blurring in javascript, you might want to save image back to server. Here is how to use toBlob