Skip to content

stb image

IsaacShelton edited this page Nov 13, 2022 · 5 revisions

stb/image

stb/image.adept contains a wrapper for stb_image.h for Windows, MacOS, and x86_64 ELF GNU-Linux.

Only a few of the most important functions from stb_image.h are defined.

Constants

define STBI_default    = 0
define STBI_grey       = 1
define STBI_grey_alpha = 2
define STBI_rgb        = 3
define STBI_rgb_alpha  = 4

Defined Functions

foreign stbi_load(in *ubyte, out *int, out *int, out *int, in int) *ubyte
foreign stbi_image_free(in *ubyte) void
foreign stbi_failure_reason() *ubyte
Clone this wiki locally