-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.LoadImageAnimFromMemory
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Load animated image data - Image.data buffer includes all frames: [image#0][image#1][image#2][...] - Number of frames is returned through 'frames' parameter - All frames are returned in RGBA format - Frames delay data is discarded
| Parameter | Default Value | Note |
|---|---|---|
| fileType | ||
| fileData | ||
| frames |
| Condition | Return Value |
|---|---|
| (always) | map |
data = file.open("explosion.gif").read
result = raylib.LoadImageAnimFromMemory(".gif", data)
print "Frames: " + result.frames
if raylib.IsImageValid(result.image) then
raylib.UnloadImage result.image
end if