Ok, I’ve just sent it. I could probably strip out more code and still send you something that reproduces the problem, but what I’ve sent is pretty short and I’m not doing anything tricky. Let me know, however, if you want a smaller example.
When I run it, it puts an image file (“Picture 1.png”, or “Picture 2.png”, etc.) on the desktop. If I open it, all I see is a black rectangle. Essentially the same result if I try display.save rather than display.captureScreen.
One question—what should the result be when I run the CaptureToFile sample code? The “thumbnail” that it shows is just a black rectangle, as is the image that gets saved in “entireScreen.jpg”.
BTW this is with version 1.01 of Corona (2010.1.8.1).
Thanks,
Matt
[import]uid: 78 topic_id: 405 reply_id: 731[/import]
Just tried the CaptureToFile sample with the new 1.1 SDK.
Here are the results—I ran the program three times and got three different corrupted images: scr0.jpg, scr1.jpg and scr2.jpg. [import]uid: 78 topic_id: 405 reply_id: 868[/import]
Ok, I have a few spare minutes so I want to try and resolve this issue.
First things first, could somebody describe, or preferable post an image somewhere, what results I should be seeing from the CaptureToFile sample project? I am confident it’s _not_ supposed to be the garbled image I posted above.
Thanks,
Matt
[import]uid: 78 topic_id: 405 reply_id: 1138[/import]
Hi Carlos - thanks for the quick reply - I’m using corona 2.0 beta 4 - I was able to get the screen capture code to work but when I tried using the code to capture just a group it crashed on both my iPad and in the simulator - [import]uid: 4254 topic_id: 405 reply_id: 2765[/import]