Replies: 4 comments 2 replies
-
Do you mean something like a custom file handler? webui/examples/C/serve_a_folder/main.c Line 58 in 55e38e8 |
Beta Was this translation helpful? Give feedback.
-
Not really, if I'm reading that example correctly. It looks like it only deals with text files. This would be more like for images, audio, other assets and being able to load them in that way without having to deal with overhead of converting to header files or base64. |
Beta Was this translation helpful? Give feedback.
-
Not only text files, but all HTTP requested files should go trough |
Beta Was this translation helpful? Give feedback.
-
Implemented. |
Beta Was this translation helpful? Give feedback.
-
I was wondering if there is plans to be able to load embedded assets via some function like LoadAssetFromMemory(data,size);? Right now, I can use base64 for non SVG type of assets (which can have some issues depending on browser and size of the file), but being able to load from an embedded file, using LD to link the assets into the binary and load from there for instance, would help get around that while still being able to make it simple for distribution.
Beta Was this translation helpful? Give feedback.
All reactions