display.captureScreen () always takes portrait picture even in landscape mode

I downloaded daily builds 336 & 347 and attempted my screen capture, which is a full screen image 1024 x 768 in landscape on my iPad and it did not capture the screen correctly.

My app runs in Landscape only with no portrait rotation. The image is displayed twice on the device with an offset. The screen capture seems to be a “portrait” capture about the size of the iPhone screen.

It works perfectly on the simulator; and saves my image correctly to the desktop as requested.

Does anyone have any suggestions?

Thanks
Rob
[import]uid: 16527 topic_id: 3937 reply_id: 32137[/import]

Rob :frowning: this is a known bug we are planning to fix soon.

After we ship this week, we plan to spend some time fixing up things. [import]uid: 24 topic_id: 3937 reply_id: 32138[/import]

Thanks Carlos,

Do you think this may be fixed within the next month?

Please…it is one of the main parts of my app, I hope to be able to submit my first App in 6-8 weeks; at the most. Sooner if we are able to get this bug fixed.

Thanks for such a Great product!!

Rob

[import]uid: 16527 topic_id: 3937 reply_id: 32154[/import]

as soon as we can. we fixed a bunch of stuff on camera but this one is the one that got away. we will fix asap [import]uid: 24 topic_id: 3937 reply_id: 32158[/import]

I also have an app that is only in landscape mode (iPad), and screen shots show up rotated to portrait. Any plans for this fix? Looks like it’s an old one. [import]uid: 90248 topic_id: 3937 reply_id: 76558[/import]

At this moment, this is only an issue with the display.captureScreen() function on some iOS devices such as the iPad. The image saved to the photo library will be correct but the screen capture image displayed within Corona will be displayed wrong.

The current work-around is to use the display.save() function instead. This function works correctly on all platforms. Please see sample app “Storage\ScreenCaptureToFile” that is included with the Corona SDK on how to use this function. [import]uid: 32256 topic_id: 3937 reply_id: 77162[/import]