Good morning everybody.
I am having an issue with display.save on my Mac
Here is a small program that captures the circle in a display group and displays back the saved images :
local dg = display.newGroup () local circle = display.newCircle (dg, 40, 40, 20, 20) display.save (dg, { filename="capture1.png", baseDir=system.DocumentsDirectory, captureOffscreenArea=true }) display.save (dg, { filename="capture2.png", baseDir=system.DocumentsDirectory, captureOffscreenArea=true }) local si1 =display.newImageRect ( "capture1.png", system.DocumentsDirectory, 40, 40) si1.x = 40 si1.y = 100 local si2 =display.newImageRect ( "capture2.png", system.DocumentsDirectory, 40, 40) si2.x = 120 si2.y = 100
Tested with Corona daily build 3556 and also all builds afterwards.
This works fine on the Mac OS High Sierra version 10.13.6 with NVIDIA Geforce GT Intel HD Graphis. I get 3 circles on the Corona Simulator.
But on a Mac OS Mojave version 10.14.6 with Retina display Intel UHD Graphics. The first image capture1.png is a blank image.
Can someone with a Mac with Retina display check if the issue is the same?
Thank you.