Check SaveAsPng then go to platform you use and you will see exact code you need to see.
Funny you brought that up, because I believe it was this topic that made you donate:
Anyway, it doesn’t matter, what matters is how much you are derailing people looking for help with your “solutions”. Basically pattern is: Ask about basics, get reasonable answer, then instead come with your own, absolutely wrong horrible approach.
It’s fine to not know, it’s fine to ask, but if we don’t know we have to be aware of not knowing.