How do I save an image made in canvas as .png?

So after editing the image in canvas, how do I save it as a .png file?

Hi @Gayatri_Sahoo

It is always good to search the community before asking any question.

https://community.appinventor.mit.edu/search?q=save%20canvas%20order%3Alatest

2 Likes

I am unable to find my answer. I want to save it as a .png file.

Have you tried reading the documentation ?

http://ai2.appinventor.mit.edu/reference/components/animation.html#Canvas

2 Likes

Yes, but what should I attach the the save as block to?

The block returns the path to the saved file. You can either store that somewhere or otherwise make use of it in your app, or you can attach it to the evaluate and ignore result block to discard the result.

1 Like

Yes, but how do I store it as a .png is my question. WHat blocks do I need to use?

The others have already pointed you toward the resources you'll need. App Inventor is all about experimenting to find out what works and what doesn't. Try something and report back here. The documentation linked to by @TIMAI2 might give you some insight as to the specific block to use...

1 Like

Have you tried to Google the solution?

2 Likes