Like bitmap_load, for an image that is already in memory.
- bitmap: receives the pixels. Free them with
deinit. - memory: the bytes of an image file.
bitmap_load_from_memory :: (bitmap: *Bitmap, memory: [] u8) -> bool
Like bitmap_load, for an image that is already in memory.
Parameters
- bitmap: *Bitmap
- receives the pixels. Free them with
deinit. - memory: [] u8
- the bytes of an image file.
Returns
- bool