How to save a canvas drawing in a google sheet cell?

See this topic:

And this documentation:

https://docs.thunkable.com/media-db