stbi #

fn load #

fn load(path string) ?Image

fn load_from_memory #

fn load_from_memory(buf byteptr, bufsize int) ?Image

fn set_flip_vertically_on_load #

fn set_flip_vertically_on_load(val bool)

struct Image #

struct Image {
pub mut:
	width       int
	height      int
	nr_channels int
	ok          bool
	data        voidptr
	ext         string
}

fn (Image) free #

fn (img &Image) free()