When I use display.save to save parts of my interface (it’s not important which parts and for what reason) to the local device, different devices give out completely different and unexpected results, to test this on your own simply do:
local text1 = display.newText("Test text", 0, 0, your\_choice\_of\_font, 36); local text2 = display.newText("Test text", 0, 0, your\_choice\_of\_font, 36); --Changing the color of the second text text2:setFillColor(1,0,0); --Creating and filling a display group, to be saved. local save\_group = display.newGroup(); save\_group:insert(text2); --Saving the display group as a png display.save(save\_group,"blabla.png",isFullResolution=true}); --Killing the group, we don't need it any more. save\_group:removeSelf() save\_group = nil; --Loading the newly created image. local loaded\_image = display.newImage("blabla.png",system.DocumentsDirectory,0,0,false);
Now run this code in your simulator, and you’ll see, on iPhone 5, the original text and the loaded image (you may want to move them around, to align them) are exactly the same, but on GalaxySIII? the image is a little bigger then the text… on iPad, event bigger… on iPad Retina? the image saved is almost 4 times larger then the text it was saved from.
Please, is this a known bug? am I missing something here?