Corona Version: 2011.591
System Version: OSX 10.7
Computer HW Info: Macbook
iPhone Generation: n/a
iPhone Firmware Version: n/a
Type (API, Runtime, Multimedia, Optimization, Network, Devices, Deployment etc):
API
Description:
Would like function GetPixel() , returning a table of R,G.B (plus possibly A) values from an image.
This would allow (among other things) use of an image as a map for tiled games, and for some aspects of image manipulation.
Would like SetPixel(image, x,y, colour{}) so that an image can be amended/created from whole cloth if required.
(This obviously then opens the door for a hundred more requests for drawing functions such as lines and rects onto an image. One way to achieve that might be to allow for newImage, newText, etc to operate on an invisible display context, which would be saved to a file)
[import]uid: 108660 topic_id: 19815 reply_id: 319815[/import]