ADDED: ExportImageToMemory()
Only PNG supported for now
This commit is contained in:
parent
ba802fdd5e
commit
f8b352f6d9
2 changed files with 30 additions and 1 deletions
|
@ -1243,6 +1243,7 @@ RLAPI Image LoadImageFromScreen(void);
|
|||
RLAPI bool IsImageReady(Image image); // Check if an image is ready
|
||||
RLAPI void UnloadImage(Image image); // Unload image from CPU memory (RAM)
|
||||
RLAPI bool ExportImage(Image image, const char *fileName); // Export image data to file, returns true on success
|
||||
RLAPI unsigned char *ExportImageToMemory(Image image, const char *fileType, int *fileSize); // Export image to memory buffer
|
||||
RLAPI bool ExportImageAsCode(Image image, const char *fileName); // Export image as code file defining an array of bytes, returns true on success
|
||||
|
||||
// Image generation functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue