Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to save image from drawing tool
- processmuseum
- New to Scratch
2 posts
How to save image from drawing tool
Hello,
I am using the code for this drawing tool: http://scratch.mit.edu/projects/125810/ and am embedding the drawing tool into another website for people to be able to draw a picture in response to a question I'm asking. I want to find a way for that image to be saved once they complete it (in some way other than taking a screen shot).
Does anyone have any ideas as to how I might do this?
Thank you!
I am using the code for this drawing tool: http://scratch.mit.edu/projects/125810/ and am embedding the drawing tool into another website for people to be able to draw a picture in response to a question I'm asking. I want to find a way for that image to be saved once they complete it (in some way other than taking a screen shot).
Does anyone have any ideas as to how I might do this?
Thank you!
- farmer101
- Scratcher
19 posts
How to save image from drawing tool
sorry don't know if it is possible you can take screenshot though but you cant edit them later
- footsocktoe
- Scratcher
1000+ posts
How to save image from drawing tool
Hello,
I am using the code for this drawing tool: http://scratch.mit.edu/projects/125810/ and am embedding the drawing tool into another website for people to be able to draw a picture in response to a question I'm asking. I want to find a way for that image to be saved once they complete it (in some way other than taking a screen shot).
Does anyone have any ideas as to how I might do this?
Thank you!
It would be difficult to do using bitmap drawing like that.
However, if your drawing tool was the pen then it would be easy to do. Just save the pen coordinates to a list.
If you want to do it with bitmap, then I suggest you try limiting the colors and limiting the drawing space. For example with a 100x100 pixel drawing space you could save a painting in a list with 10,000 items, one for each pixel. Limiting the colors (to 999, for example) means you don't need RGB code and can use just a single number for each color.
Last edited by footsocktoe (Feb. 10, 2017 06:08:41)
SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!
- P444
- Scratcher
500+ posts
How to save image from drawing tool
Um, last viable post 3 years ago…Hello,
I am using the code for this drawing tool: http://scratch.mit.edu/projects/125810/ and am embedding the drawing tool into another website for people to be able to draw a picture in response to a question I'm asking. I want to find a way for that image to be saved once they complete it (in some way other than taking a screen shot).
Does anyone have any ideas as to how I might do this?
Thank you!
It would be difficult to do using bitmap drawing like that.
However, if your drawing tool was the pen then it would be easy to do. Just save the pen coordinates to a list.
If you want to do it with bitmap, then I suggest you try limiting the colors and limiting the drawing space. For example with a 100x100 pixel drawing space you could save a painting in a list with 10,000 items, one for each pixel. Limiting the colors (to 999, for example) means you don't need RGB code and can use just a single number for each color.
- Discussion Forums
- » Help with Scripts
- » How to save image from drawing tool