I\'m making an painting app. I want to add a function which can save the paint to picture in the phone. which function should i use??