lua.wetgenes.grd.load_data
g:load_data(datastring,format)
Load an image from memory.
Returns nil,error if something goes wrong so can be used with assert otherwise returns g so that we can chain the result.
g:load_data(datastring,format)
Load an image from memory.
Returns nil,error if something goes wrong so can be used with assert otherwise returns g so that we can chain the result.