Clear alpha channel to desired color NOTE: Threshold defines the alpha limit, 0.0f to 1.0f
None.
img = raylib.LoadImage("sprite.png") // Make pixels with alpha < 10% fully transparent raylib.ImageAlphaClear img, raylib.BLANK, 0.1 raylib.ExportImage img, "sprite_clean.png" raylib.UnloadImage img
There was an error while loading. Please reload this page.