Simp module

bitmap_load_from_memory

procedure · 1 overloadSource

Like bitmap_load, for an image that is already in memory.

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

See also