save uiimage to photo library

Ads
 

save uiimage to photo library

How to saved the clicked picture on camera roll in iPhone. I always want to write the file into photo library.

View Answers

December 12, 2011 at 12:25 PM

Save UIImage to photo library

Creating a camera application in iPhone need three simple steps to follow?

1) Role Camera
2) Save the captured image into photo library
3) and check if the image have been saved into your library or not

The given code is the second step "How to save or write a clicked picture into Photo Library".

- (void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
  // Access the uncropped image from info dictionary
  UIImage *image = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
 
  // Save image
  UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);
 
  [picker release];
}

Ads









Related Tutorials/Questions & Answers:
save uiimage to photo library
save uiimage to photo library  How to saved the clicked picture on camera roll in iPhone. I always want to write the file into photo library.   Save UIImage to photo library Creating a camera application in iPhone need
ModuleNotFoundError: No module named 'photo-geotag-restful-api-client-library'
ModuleNotFoundError: No module named 'photo-geotag-restful-api-client-library...: ModuleNotFoundError: No module named 'photo-geotag-restful-api-client-library' How... environment you have to install padas library. You can install photo-geotag-restful
Advertisements
iPhone Pick images from Photo Library
iPhone Pick images from Photo Library In this example application we are going to show you how to pick an image from photo library. To choose the photo from the photo library we required to call three different delegates
uiimage initwithdata example
uiimage initwithdata example  I need uiimage initwithdata example UIImage *img = [[UIImage alloc] initWithData:data
Load UIImage from URL
Load UIImage from URL  Load UIImage from URL
UIImage width and height
UIImage width and height  Hi, How I can find the width and height of UIImage object. Let's know an example code for finding UIImage width and height. Thanks
UIImage imagenamed memory leak
UIImage imagenamed memory leak  Hi, Following code is creating memory leak: UIImage * img1 = [UIImage imageNamed:@"myimage.png"]; I have to replace existing image with new image. What could be the possible solution? Thanks
photo album
photo album  while syncing photos to my photo album in my iphone, the photo albumj ust got crashed i guess. Under photos option i just have the camera roll option now!! What should i do to get the photo album back
photo uploading
photo uploading  i want the code upload the image in oracle database
Objective C resize UIImage
Objective C resize UIImage  i just want to resize the image on the touch detection. That means if a user double clicks on the UIImage it must resize the image
UIImage from file
UIImage from file  Hi, I have added an png image to my project. Now... provide me code for uiimage from file. Thanks   HI, You can use following code: myImageView.image = [ UIImage imageNamed:@"image.png" ]; Thanks
photo viwer
photo viwer  i need coding for photo viewer using jsp mysql   Please visit the following link: http://www.roseindia.net/jsp/downloadimage.shtml
Gallery Photo
Gallery Photo  I need to display a photo gallery with the path stored in oracle with the possibility of their supprission (photo management) (with jsf or with jsp)   hi friend, Do not do such task using JSP, Better
Photo upload, Download
from server side. I want to save the photo with a given name. How can i do...Photo upload, Download  Hi I am using NetBeans IDE for developing... am loading photo. BufferedImage image=null; JFileChooser chooser = new
ModuleNotFoundError: No module named 'mera_photo'
have to install padas library. You can install mera_photo python..._photo python library, ModuleNotFoundError: No module named 'mera_photo'...ModuleNotFoundError: No module named 'mera_photo'  Hi, My Python
ModuleNotFoundError: No module named 'natgeo_photo'
environment you have to install padas library. You can install natgeo_photo python... of natgeo_photo python library, ModuleNotFoundError: No module named 'natgeo...ModuleNotFoundError: No module named 'natgeo_photo'  Hi, My Python
ModuleNotFoundError: No module named 'natgeo_photo'
environment you have to install padas library. You can install natgeo_photo python... of natgeo_photo python library, ModuleNotFoundError: No module named 'natgeo...ModuleNotFoundError: No module named 'natgeo_photo'  Hi, My Python
ModuleNotFoundError: No module named 'photo-org'
have to install padas library. You can install photo-org python with following... python library, ModuleNotFoundError: No module named 'photo-org' error...ModuleNotFoundError: No module named 'photo-org'  Hi, My Python
ModuleNotFoundError: No module named 'photo-calendar'
environment you have to install padas library. You can install photo-calendar... the installation of photo-calendar python library, ModuleNotFoundError: No module named...ModuleNotFoundError: No module named 'photo-calendar'  Hi, My
ModuleNotFoundError: No module named 'photo-dl'
to install padas library. You can install photo-dl python with following... library, ModuleNotFoundError: No module named 'photo-dl' error...ModuleNotFoundError: No module named 'photo-dl'  Hi, My Python
ModuleNotFoundError: No module named 'photo-gen'
have to install padas library. You can install photo-gen python with following... python library, ModuleNotFoundError: No module named 'photo-gen' error...ModuleNotFoundError: No module named 'photo-gen'  Hi, My Python
ModuleNotFoundError: No module named 'photo-grid'
have to install padas library. You can install photo-grid python...-grid python library, ModuleNotFoundError: No module named 'photo-grid'...ModuleNotFoundError: No module named 'photo-grid'  Hi, My Python
ModuleNotFoundError: No module named 'photo-import'
environment you have to install padas library. You can install photo-import python... of photo-import python library, ModuleNotFoundError: No module named 'photo...ModuleNotFoundError: No module named 'photo-import'  Hi, My Python
ModuleNotFoundError: No module named 'photo-org'
have to install padas library. You can install photo-org python with following... python library, ModuleNotFoundError: No module named 'photo-org' error...ModuleNotFoundError: No module named 'photo-org'  Hi, My Python
ModuleNotFoundError: No module named 'photo-sorter'
environment you have to install padas library. You can install photo-sorter python... of photo-sorter python library, ModuleNotFoundError: No module named 'photo...ModuleNotFoundError: No module named 'photo-sorter'  Hi, My Python
ModuleNotFoundError: No module named 'photo-uploader'
environment you have to install padas library. You can install photo-uploader... the installation of photo-uploader python library, ModuleNotFoundError: No module named...ModuleNotFoundError: No module named 'photo-uploader'  Hi, My
ModuleNotFoundError: No module named 'unach-photo'
you have to install padas library. You can install unach-photo python... of unach-photo python library, ModuleNotFoundError: No module named 'unach-photo...ModuleNotFoundError: No module named 'unach-photo'  Hi, My Python
Adding photo to iPhone simulator
Adding photo to iPhone simulator  Hi, there is no photo in my iPhone simulator.. how can i add one? Please suggest. Thanks
upload photo in xcode
upload photo in xcode  how can i upload a photo in a view in xcode? i am a beginner in xcode please help me
[UIImage isKindOfClass:]: message sent to deallocated instance
[UIImage isKindOfClass:]: message sent to deallocated instance  Hi, I am getting following error: -[UIImage isKindOfClass:]: message sent to deallocated instance How to resolve the issue? Thanks
ModuleNotFoundError: No module named 'phyto-photo-utils'
After the installation of phyto-photo-utils python library, ModuleNotFoundError...ModuleNotFoundError: No module named 'phyto-photo-utils'  Hi, My... named 'phyto-photo-utils' How to remove the ModuleNotFoundError: No module

Ads