Export an image to a RawData in the file format named by fileType (e.g. ".png"), or null on failure
img = raylib.GenImageColor(32, 32, raylib.BLUE) data = raylib.ExportImageToMemory(img, ".png") print "PNG bytes: " + data.len raylib.UnloadImage img
There was an error while loading. Please reload this page.