Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vikysaran

macrumors newbie
Original poster
Sep 25, 2009
5
0
See this image

357edb75eb.png


on Grab button it opens camera/gallery. User selects or shoots image and presses choose button then picture comes inside above frame and looks like bellow.

4fd7312d92.png


I have to save the image showing now with frame now.

Tell me what to do. Is there any way to Capture screen? or how i can merge these photos to generate a new photo with frame.

Thanx & Regards-
Vaibhav Saran | Software Engineer
Neo Sypher Systems Pvt. Ltd.
New Delhi | India
E-Mail: vaibhav@golsonline.com
Website: www.rStrings.com
 
i presume you want to save the images in your iphone.

To store an image captured by the iphone camera into your photos library, you can use the UIImageWriteToSavedPhotosAlbum method.

In case you want to store it in your application's Documents Directory, you can convert the image into NSData and write the file into the Documents folder.
 
i presume you want to save the images in your iphone.

To store an image captured by the iphone camera into your photos library, you can use the UIImageWriteToSavedPhotosAlbum method.

In case you want to store it in your application's Documents Directory, you can convert the image into NSData and write the file into the Documents folder.

not only saving image
i want to capture that perticular section that contains 2 images now.
1 is frame and 2nd is selected image.
 
Get the picture from the camera as above, create a new UIImage of the correct size and lock focus on it, picture then the frame, save that new UIImage.

And no, before you ask, I'm not going to post code, I expect you to go and read the documentation and write your own code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.