display.save() doesn't save anything

Hello,

I insert several .png images in a group and I want this group content to be saved to the disk so I use display.save() but nothing is saved.
As the API reference says, I write

local baseDir = system.DocumentsDirectory  
display.save( myGroup, "myImage.jpg", baseDir )  

Could anyone tell me what I am doing wrong?

TIA [import]uid: 44013 topic_id: 9540 reply_id: 309540[/import]

I think it’s being saved to the documents directory in the project sandbox, to find the file goto ‘File>Show Project Sandbox’ and then navigate to the documents directory.

-Angelo [import]uid: 12822 topic_id: 9540 reply_id: 34847[/import]

Yes, that’s right, Angelo, thank you very much!
Could I change the destiny folder? [import]uid: 44013 topic_id: 9540 reply_id: 34848[/import]

I suppose it is no possible to save png images, isn’t it? (transparent background) [import]uid: 44013 topic_id: 9540 reply_id: 34849[/import]

You might be able to by using system.pathForFile but I’m not sure if you can set it to be outside of the sandbox or resource directory.

Right now they don’t support .png files unfortunately, but check back often ~ things are always changing.

-Angelo [import]uid: 12822 topic_id: 9540 reply_id: 34931[/import]

Thanks a lot, Angelo!
I’ll keep checking back waiting for news about .png files saving.

Regards! [import]uid: 44013 topic_id: 9540 reply_id: 35415[/import]