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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -