Hi,
I’m using the media.capturePhoto in my app, but some behaviours are really strange :
-
On Mac Simulator, all my square photos will be saved in 640x480, and thus are stretched.
-
On iPhone5 (we currently can only test on this kind of device), all our photos are saved in landscape. In fact all photos took in landscape mode are good, but all photos took in portrait are rotated… it is a real trouble for us because we’re planning to allow an user to crop its photo, but it would look really weird if we’d display its photo rotated.
Edit : after testing on and iPad mini, we got the same result, photos are still saved in landscape.
Does anyone ever met this problem and/or have an idea how to solve it ? We’re using Corona build 2189, and here is my function call :
media.capturePhoto( {
listener = photoTook,
destination = {baseDir=system.TemporaryDirectory, filename = scene.avatarID … “.png”, type=“image”}
} )
// The listener only do print() now, I erased anything else to see if anything changed, but nothing.