# Screenshot code within an app

**URL:** https://community.thunkable.com/t/screenshot-code-within-an-app/1666396
**Category:** Questions about Thunkable X
**Created:** [January 5, 2022, 5:59pm UTC](https://community.thunkable.com/t/screenshot-code-within-an-app/1666396 "2022-01-05T17:59:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![debbie\_w](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@debbie\_w](https://community.thunkable.com/u/debbie_w)
#### Post date: [January 5, 2022, 5:59pm UTC](https://community.thunkable.com/t/screenshot-code-within-an-app/1666396/1 "2022-01-05T17:59:51Z")

</div>

I have a student making an app with a finger painting screen and then they would like the app to take a screenshot of the painting and store it to display on another screen later. Is that possible with Thinkable–to make the app itself take a screenshot, perhaps when a timer fires? I can’t figure out any way to make that happen. So just wondering if anyone knows.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 5, 2022, 6:40pm UTC](https://community.thunkable.com/t/screenshot-code-within-an-app/1666396/2 "2022-01-05T18:40:34Z")

</div>

> [@debbie\_w](#):
>
> app with a finger painting screen and then they would like the app to take a screenshot of the painting

Do you mean the using a `Canvas` to paint?

If this is the case then you can store the image of the canvas by this block  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/b/6b0d207efda99b7f9654bf5e24e898def778c523.png)

You can save the image in a Firebase DB for now until Thunkable makes another way.

However, once the image is saved in Firebase DB it can be retrieved by another user having access to this image storage location in the DB and display it in the app.

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [January 5, 2022, 6:41pm UTC](https://community.thunkable.com/t/screenshot-code-within-an-app/1666396/3 "2022-01-05T18:41:31Z")

</div>

I think you can Use the image from canvas block to get the image from the canvas.  
However i have no Idea how to download within Thunkable.  
The best option to download it is to send the base64 file to a website/HTML file and download it from there.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [January 5, 2022, 6:44pm UTC](https://community.thunkable.com/t/screenshot-code-within-an-app/1666396/4 "2022-01-05T18:44:14Z")

</div>

This might be helpful:

> [@Uploading an image of a canvas to cloudinary](https://community.thunkable.com/t/uploading-an-image-of-a-canvas-to-cloudinary/989016/16):
>
> Hi there, I took a look at this post and thought you might find [this project](https://x.thunkable.com/projectPage/60894d71879cff0011b57b02/) interesting. When you click the Button, it: Saves the image of the canvas as a cloud variables Uses this cloud variable as a source for the Image component in the app Displays the base 64 URL for the image on a Label This works for me on Android, iOS and web. If it works in your project, you may find it easier to work with than the Cloudinary API. Make sure to connect your own Firebase DB to your project if you end…

I also know @codeswept was working on a similar issue so they may have a suggestion.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [April 5, 2022, 6:44pm UTC](https://community.thunkable.com/t/screenshot-code-within-an-app/1666396/5 "2022-04-05T18:44:33Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
