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
Draw pixel within an image NOTE: Compressed image formats not supported
Parameters
Parameter
Default Value
Note
dst
x
0
y
0
color
WHITE
Return value
None.
Notes
Example
img=raylib.GenImageColor(64, 64, raylib.BLACK)
// Set pixel at (10, 10) to redraylib.ImageDrawPixelimg, 10, 10, raylib.REDraylib.ExportImageimg, "dot.png"raylib.UnloadImageimg