Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8892611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:02:49+00:00 2026-06-14T23:02:49+00:00

I have a concept for a program I want to make. I want to

  • 0

I have a concept for a program I want to make. I want to making some sort of drawing program that allows you to draw lines on the page, saves it, and then when another user views the same page, he can see the drawing that the first user made and edit it as well. This will all be online, presumably using HTML5 canvas.

I think I can figure out the drawing part okay: when a user’s mouse is clicked, the program will essentially fill in a sequence of circles that tracks the mouse’s movements. However, what I’m having a hard time figuring out is how to persist the drawings. The best solution I can think of right now is taking a “snapshot” of the drawing and saving that in some format, but as the drawing gets bigger, that would mean there’s a huge file getting saved and sent from the server to clients, which sounds far from ideal.

Can someone provide suggestions on how to persist and save these drawings in an efficient way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:02:50+00:00Added an answer on June 14, 2026 at 11:02 pm

    HTML5 pixel data can be exported and imported as PNG image easily. The pixel data size depends solely on dimensions, not how many drawing commands have been applied as it is bitmap buffer based, not vector based.

    Export using toDataURL():

    Capture HTML Canvas as gif/jpg/png/pdf?

    Save data to server.

    Import the existing image by simply loading it as <img> and drawing the image on <canvas> using drawImage().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java program that processes information, but I want to make it
I have written some sample program and DLL to learn the concept of DLL
Recently I am making a server-client program using multithread concept. For some reason, I
In my program, I have a class that I want to be allocated before
I have a data structure in my C++ program that has some attributes of
I have a program that can accept command-line arguments and I want to access
In my game I have a concept of resource manager, a class that stores
I have an application that has a concept of a Venue , a place
Have a program that's dynamically generating an Excel file and a csv. The excel
I just loved the concept of Graph Based Databases, specifically Neo4j. I have some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.