Saving an image using display.capture in the graphics 2.0 simulator is saving incorrect GameStick screen size.

I just tried to file a bug report but for some reason it keeps telling me an error occurred, so hopefully someone from Corona will spot this post.

When saving an image using display.capture() in the simulator, if the skin is set to GameStick 720p it saves images as 1279 * 720, and if it is set to 1080p it saves them as 1918 * 1080.

It’s not a huge problem, but in my eyes the most useful thing about the function is that you can use it to prepare assets to submit to the various app stores. However in this case each image will be slightly smaller than it should be, and could be rejected which means having to manually pad the image in photoshop.

Incidentally, in graphics 1.0 it also saved the wrong size, but it saved an image which was exactly half the size of the screen, so that would at least be slightly quicker to scale up in photoshop (though it would’ve lost some of it’s sharpness).

“display.capture” should be really useful for screenshots. In fact I’ve been using it to take 1080 screenshots for several hours now. Unfortunately they’re all 1918x1080… arghhh!!

Any chance this can be fixed quickly? This is on a Samsung Galaxy S4, a super important device to a lot of developers.

“display.capture” should be really useful for screenshots. In fact I’ve been using it to take 1080 screenshots for several hours now. Unfortunately they’re all 1918x1080… arghhh!!

Any chance this can be fixed quickly? This is on a Samsung Galaxy S4, a super important device to a lot of developers.