Finally had the time to test it again. It is still not working (daily build 2014.2329). Tried saving the image to Caches, Temporary and DocumentsDirectory and nothing.
I run the code below and get savedImage = nil.
Another possibility is that the display.newImage (with file not from ResourcesDirectory) that is not working. Since I don’t know where is the Caches, Temporary, DocumentsDirectory of a HTML5 app, I cannot say who is broken (display.save or display.newImage).
Tested with this simple code: Show image on screen, saved it and show it again.
local image = display.newImage("a.jpg") image.x = display.contentCenterX image.y = display.contentCenterY timer.performWithDelay(2000, function() display.save(image, "test.jpg", system.TemporaryDirectory) timer.performWithDelay(2000, function() local savedImage = display.newImage("test.jpg", system.TemporaryDirectory) print("savedImage=", savedImage) end) end)