iphone - Capture camera view and onverlay in an image -


i open camera view , place image overlay. want save both overlay , camera view's image 1 image. achieved using uigetscreenimage(). apple forbid options ? takepicture capture camera data the overlay. merging overlay image takepicture bit slow.

you have merge them, , shouldn't take more second or two. like(untested, should give idea):

uigraphicsbeginimagecontext(mycapturedimage.size); [mycapturedimage drawatpoint:cgpointzero]; //you might need use drawinrect [overlayimage drawatpoint:cgpointzero]; uiimage *combinedimage = uigraphicsgetimagefromcurrentimagecontext(); uigraphicsendimagecontext(); 

Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -