how to save an online image in to iphone photo album - iphone

my application is an image base application.
there is an option for seach online.if we press a button there is a webview controller and
goes to google home page.there we can search image.my requirement is select an image and save
in to photo album
how it is possible.
Regards
Baiju

Download the image into a UIImage:
Create a UIImage with a URL in iOS
Save the UIImage to the photo album:
How to save picture to iPhone photo library?
Pretty easy to do those searches on Stack Overflow don't you think?

Related

Is it possible to add caption to an image using phonegap?

I'm trying to understand if phonegap can be used for local image manipulation. I'm looking to add a caption to an image from the camera roll and save the modified copy back in the camera roll. For example I might have a picture of a cat in phone. I want to open it, add some lolcats style text and save the modified copy in the camera roll.
Is it possible to achieve this in phonegap?
Thanks
You can use HTML5 Canvas to update the images and save it locally in your application space. However saving the image to the phone album is not straight forward. You may need to look at the below post to get the proper solution.
How Can I Save An Image To An iPhone Photo Gallery Using PhoneGap?
This post will help you open the album image to canvas
CameraRoll image to canvas using Phonegap

It's possible to save image to app’s own photo album without duplicate in Camera Roll?

I am trying to save a photo taken from my app to app’s own photo album (solution here http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-for-download/).
But image is saved in the Camera Roll and then creates a link in my own album. It's possible to save image to app’s own photo album without duplicate in Camera Roll?
Thanks!
unfortunately this is not possible. The Photo-Library works in the way that every photo in an "own photo album" is only a reference to the actual photo that is saved to the Camera Roll.
Cheers,
Hendrik

Modify photos of the album photo

I'm trying to develop an application that modify photos of the album photo, (exactly adding tags to the photos).
It is possible to modify the content of the album photo from the application? (replace the photo with the tagged one)?
If it's possible, it is best to copy the picture in the sandbox, edit it, and send it back to the album photo or modify directly the photo without copying it in the application sandbox?
No you can't not change a photo in the photo album.
You can copy them, them edit them and add a new photo to the photo album.
You can use UIImagePickerController to allow the user to select an image from the photo library. Or use AssetsLibrary to roll your own image picker.
You will have to use UIImageWriteToSavedPhotosAlbum to save the an UIImage to the photo library.

how to get all images in iphone photo album

I want get all images in iphone photo album without imagepicker.
I have seen same functions other app.
help plz~^^;
Read and use assets library .It will answer all your questions .link text

Load Gallery images in Viewcontroller of iphone

am new to iPhone and i have been given a task to show all the images from the gallery of the iPhone to the current view so that the user can select an image and view it and here's the second part of my problem i am having a share button and its functionality is that the selected image by the user on the touch of the share button must be shared on facebook.
Please help me regarding this,
To select image from photo library use UIImagePickerController, here's an example:
http://www.zimbio.com/iPhone/articles/1109/Picking+Images+iPhone+SDK+UIImagePickerController
To integrate facebook in your app, you'll use facebook ios sdk:
http://github.com/facebook/facebook-ios-sdk
Edit 1:
Ok, here's the link for uiimagepickercontrollerdelegate whose method you'll use to get the image, it's really not that hard:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerControllerDelegate_Protocol/UIImagePickerControllerDelegate/UIImagePickerControllerDelegate.html%23//apple_ref/doc/uid/TP40007069
Here's the demo for facebook connect:
link text