Hi guys,
I’ve been searching around google and I haven’t found the answer to my question so I am posting this.
Goal: Make a basic photo editing app which includes cropping.
Potential problem: If the device I’m using has a camera that takes photos at a higher resolution than my device screen, how can I save the photo back to storage at the original resolution of the photo?
For example:
Device: iPhone 5
Device resolution: 640x1136
Photo resolution: 2448x3264
-
Import a new photo from the camera using the media.capturePhoto()
-
Do various photo editing tasks…
-
Save photo to external storage.
How can I do number 3? All the solutions I’ve seen for saving out images involve using display.save() or some sort. If I were to use this then the resolution of the saved photo would be greatly reduced because in order to display all of the photo on the device screen I would have to scale it way down.
Is it too far of a stretch to use corona for a photo editing app or am I missing something obvious?
Thanks!