Question

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.

  1. Save offscreen content?
  2. Save or use an image directly from the device photo library?

Thanks for your help.

Était-ce utile?

La solution

  1. 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.
  2. 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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top