Yes! That did create a nice workaround, one step closer to my contest submission, mua ha ha …
With regards to the other issue, yes, you’re right, with just a display.captureScreen() call, only the bottom 1/4th of the screen is saved. I was also throwing some strange errors when experimenting with captureBounds:
Corona Simulator(47094,0x7fff7761c310) malloc: *** mach_vm_map(size=18446737476639784960) failed (error code=3)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
capture bounds in content units: x: -2147483648 y: -384 w: -2147483648 h: 360
capture bounds in pixels: x: 0 y: 0 w: -2147483648 h: 768
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: CGImageCreate: unsupported image width: 2147483648.
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: Unsupported dimensions - 0 x, 0 y, 2147483648 width, 768 height, 8589934592 bytes-per-row
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: CGBitmapContextCreateWithData: failed to create delegate.
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: CGBitmapContextCreateImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: ImageIO: CGImageDestinationAddImage image parameter is nil
Nov 4 21:08:20 Administrators-MacBook-Pro-2.local Corona Simulator[47094] <Error>: ImageIO: CGImageDestinationFinalize image destination must have at least one image