how to take a picture(snap) by camera and save it in device gallery

hey

I am new to openFrameWorks and I want to know how can I create an app which can take a picture and the save the image in device gallery.

Thanks

open up the " ImagePickerExample" and put ofxiPhoneScreenGrab(NULL); inside of the touchDoubleTap event. build&run the example app on device take pic from device camera and double tap to save pic in photo library.