Does anyone know how I would go about taking an image with the iPhone camera (or using one from the device) and then overylaying some information (semi-transparent background + some text) and then save the new image to the device?
I have seen this done in other apps, but wasn't sure how to go about it with Titanium.
I have looked at kitchen sink, and there is an overlay example you can add to the camera view, but that doesn't get saved over the image, it's just a frame during taking the picture.
Any help or direction on this would be appreciated.
"toImage()" is your friend : you can get a copy of each view with this method… Create a view with your image, add your text, and save it with "view.toImage()"
Perhaps you can try opening the camera in one view, and then your own label/stuff in another view attached to the camera view (and with a higher z-index). Tried that?
Ive tried with view.toImage() and works great!!!