Get the pixel colors of an image as a list of colors, row by row from the top-left
img = raylib.LoadImage("sprite.png") colors = raylib.LoadImageColors(img) print "First pixel: " + colors[0] raylib.UnloadImageColors colors raylib.UnloadImage img
There was an error while loading. Please reload this page.