-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ExportImageAsCode
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Export image as code file (.h) defining an array of bytes
| Parameter | Default Value | Note |
|---|---|---|
| image | ||
| fileName |
| Condition | Return Value |
|---|---|
| (always) | number |
img = raylib.GenImageChecked(64, 64, 8, 8, raylib.WHITE, raylib.BLACK)
raylib.ExportImageAsCode img, "checkerboard.h"
raylib.UnloadImage img