Hi,
I’m writing a game where I want the user to be able to load an image from the photo library, do something to it (add objects etc) and then save the edited combination down so it can be loaded again later. Ideally, I would like to save the modifications in a separate file that can be re-applied to the original image when the combo is re-loaded.
So, I looked at the media.show(media.PhotoLibrary) API call. This does indeed allow an image to be chosen by the user and displayed on screen but (as far as I can tell) I don’t get to know the filename of the image so it can be reloaded in future. Does anyone know how I might do this?
Best regards
PS: I found a work around to this problem where I actually load an image and then save a copy of the image to the Documents directory using display.show(). Then I can reload it from there using the (known) filename that I’ve given it. However, there appears to be a bug in display.show() that I will detail in another thread (Display.save() doesn’t save retina images) - hence I’d be interested in an answer to the above question if there is one. [import]uid: 11045 topic_id: 10183 reply_id: 310183[/import]