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
·
3 revisions
Load an image from RAW file data
Parameters
Parameter
Default Value
Note
fileName
width
height
format
headerSize
Return value
Condition
Return Value
(always)
map
Notes
Example
// Load a 64x64 RGBA raw file with no headerimg=raylib.LoadImageRaw("pixels.raw", 64, 64, raylib.PIXELFORMAT_UNCOMPRESSED_R8G8B8A8, 0)
ifraylib.IsImageValid(img) thentex=raylib.LoadTextureFromImage(img)
endifraylib.UnloadImageimg