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

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

Related

Corona SDK. Save an image that is bigger than the screen

When saving a photo in Corona SDK. Regardless of the method used it seems no to be possible to capture any offscreen contents. For instance a 500x500 image displayed on a 320x480 device would be cropped at 320x480 when saved with display.save()
Is there a workaround for this? Is it possible to.
Save offscreen content?
Save or use an image directly from the device photo library?
Thanks for your help.
I don't think there is a way to capture offscreen content using Corona. Maybe there is a workaround to your whole problem if you give us more details.
Have you looked at the media.show function. With this you can load images from the photo library or the camera. It has option to either show the image directly on the screen or just save it to the sandbox.

save multiple images in custom album in ios5 but not in camera roll?

save multiple images in custom album in ios5 but not in camera roll?
i am using ALAssetsLibrary+CustomPhotoAlbum example, but it can save only once in custom album and duplicate in camera roll.
i want to save only in custom album through my app.
Can any one help to solve it......
You can't do that. Albums are strictly "smart albums", meaning that they can only have pictures in them that are somewhere else in the library. You see the same behavior in the Photos app: if you add a picture from the camera roll to an album, you can't delete the picture from the camera roll without deleting it from that album as well.

How to transfer an image on iPhone without leaving the exif thumbnail in the header?

I manipulated some images replacing the thumbnail present in the photo exif header. I would be interested in transferring such a photo to an iPhone anyway everytime I transfer it via e-email or in some other way exif informations are wiped out.
I would be also interested into know if it is possible to replace such informations, like thumbnail header exif, directly in an iphone app through iOS Sdk and then save the modified photo in the photo roll without loosing the exif header.
You will have to first save the image during which iPhone will add default EXIF information. The you will have to read the image using ALAssetLibrary and modify the EXIF.

IOS save gif image from UIImagePickerController selected image

I am creating an app in which I need to copy image from IOS Photo library to the app's Document directory and then upload the file to the server. I'm using the UIImagePickerController to select the image from the Photo library and save it in the app folder. It works good for the "jpeg" and "png" images using UIImageJPEGRepresentation and UIImagePNGRepresentation.
I don't see any option to copy and save the "gif" images in IOS. Is it possible to save the animated gif images. Please throw some light on how to process and save the original images (bmp, jpg, gif, png, tiff, etc.,).
Thanks in advance.
While you can load them (though you need to split them up for animations; Add animated Gif image in Iphone UIImageView - note the convert command near the bottom) one cannot save them.
To save them you'll need to use a third party library.
See this question, How to save a GIF on the iPhone?, and this http://jitsik.com/wordpress/?p=208 library for a solution.

possible to take picture without launching the front camera in iphone sdk

is possible to take picture without launching the front camera in iphone device
if yes means, give that sample tutorial for refrence.
i want to take picture with front camera . but user will not see the camera screen.
in back end it have to take pictures and save in photo album
Yes, it is possible. Pl. see this link.
In that link, have a look at Generating a Single Image.