You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Modify image color: replace color
Parameters
Parameter
Default Value
Note
image
color
replace
Return value
None.
Notes
Example
img=raylib.GenImageColor(64, 64, raylib.RED)
// Replace all red pixels with blueraylib.ImageColorReplaceimg, raylib.RED, raylib.BLUEraylib.ExportImageimg, "blue.png"raylib.UnloadImageimg