>> What resolution did you select in your config.lua file?
1280x1920
>> Run at that resolution (in a simulated device) and make the capture.
Not sure what you mean by that. That is, I don’t see that I can change the resolution of the Corona simulator in the File | Preferences command. The Help | About command says that the rev number is 2017.3184 (2017.12.8) and it pops a picture of a phone just labeled “SAMSUNG.”
Interestingly, if the resolution of the simulator were 1080x1620, then Corona would have to scale all my 1280x1920 images by that mystery number, 1.185… So, it sounds like that’s the problem but I don’t see that I can change the resolution of the simulator.
However, based on that scaling idea, I can use display.contentScaleX and display.contentScaleY to fix the problem. So now I just change the width and height before the save…
background.width = 480 \* display.contentScaleX background.height = 320 \* display.contentScaleY
…and things are good in the real device, and in the simulator.
Thanks!
Dan