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

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.

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

save image in iPhone photo library with high resolution with retina display

I'm developing an app in which i have to save images in iPhone photo library. When i'm saving image in iPhoto library in app programmatically i want the image to be saved with high resolution with retina display. How can i achieve this?
Its upto your requirement how you are saving the images in the application. If you are resizing the images while saving them then you can try to save a better version as well so it may work in both resolutions. However, the question is very vague. Please do give some more explanation.

Capturing image through camera, even being inside application

Is it possible to make camera work from, application code? As here is need to capture Image inside my application through iPhone camera. And to upload that on web.
Yes.

What user interface element would I use to take and crop a photo on the iPhone?

I'd like to be able to take a photo from the iPhone's camera, select a polygon within that photo, crop the photo to match, and then fit the resulting image to the screen.
What user interface element would you suggest for me to start doing this?
I'm a Java programmer and just getting started with the iPhone, so I'm not sure what to use.
You should start by looking at sample code from Apple for UIImagePickerController to start getting the image. When you are comfortable with that you can start thinking about how to crop the image.

iPhone SDK - What is the fastest way to grap an image from the camera and resize it to screen size?

Since UIGetScreenImage() is banned again I'm looking for another fast way to get a 320x480 image representation of the current camera picture.
What would be the fastest way to downsize the image from didFinishPickingMediaWithInfo and save it as an jpg?
You can access camera using AVFoundation tools
as shown here