I’ve been using display.save to save on-screen images created by my devices camera. This works excellently on iOS devices, but on all Android devices with which I have tested, the images are being saved as minuscule versions, even when the image takes up the entire screen. This has not been the case in the past, but started happening with recent builds of corona. Any ideas why this might be happening?
I’m also using the following code, and have found that the images saved on Android are much smaller than their iOS counterparts:
[lua]local path = system.pathForFile(“recentphoto.png”, system.DocumentsDirectory)
local image1 = io.open(path, “r”)
local content = image1:read("*a")
local stringImage = mime.b64(content)[/lua]
Might this indicate a difference in how mime.b64 works on Android? Or in how io.open/read works? Or is it the display.save function?
It is critical that I solve this issue, as this is the main feature of my application. Any help would be much appreciated.