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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -