Kononov Space
  • Main
  • Articles
  • Tech Recipes
  • About me
  • Contacts
  • Conferences
  • About Project
Subscribe

image

A collection of 1 post
[Recipe]: Save Canvas content to File on server
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 function: const canvas = document.getElementById("canvasID"); canvas.toBlob(bytes => { // here is saving of actual image file content save(bytes); }); save
Feb 4, 2020 1 min read
Kononov Space © 2023
Powered by Ghost