I guess the actual answer should come from Atilim, however my impression is that it should be a plugin, and it will be a bit convoluted: the ImagePicker returns either a UIImage (and we can't pass it to Lua directly, AFAIK) or as URL (but I'm not 100% sure Gideros can directly interpret that data as an image - it may do it though, if it doesn't rely on the extension). The only way I see a plugin working for sure is to pick the image and save it somewhere in JPG or PNG for Lua code to load it: but, it would be then your responsibility to keep or delete it when it's not needed anymore, as you'd actually do a copy of what's in the Camera Roll already.
As @pmanna said, it's a little bit complicated. But if someone wants to try to develop it, currently the best way is saving it as an image, create a Texture object from it and then delete the image file.
Actually, the image picker is a key function to my app and I just switch from the buggy Corona. I have tried Gideros for a few days and feel that it is more stable and plan to continue to use it . May be I look for another framework to see any available. Thanks for your reply.
Comments
The only way I see a plugin working for sure is to pick the image and save it somewhere in JPG or PNG for Lua code to load it: but, it would be then your responsibility to keep or delete it when it's not needed anymore, as you'd actually do a copy of what's in the Camera Roll already.
Can you wait?
http://www.giderosmobile.com/forum/discussion/784/ios-image-picker-plugin
---------------------------------------
Likes: SinisterSoft
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps