The OpenD Programming Language

gamut.codecs.stbdec

PNG and BMP image loading. D translation of stb_image-2.27 (png) and stb_image-2.29 (bmp). This port only support PNG loading, 8-bit and 16-bit. and BMP loading as in STB.

Members

Enums

STBI__SCAN_load
anonymousenum STBI__SCAN_load

///////////////////////////////////////////////////////////////////////////

Functions

stbi__compute_y
stbi_uc stbi__compute_y(int r, int g, int b)

///////////////////////////////////////////////////////////////////////////

stbi_zlib_decode_malloc_guesssize_headerflag
ubyte* stbi_zlib_decode_malloc_guesssize_headerflag(const(char)* buffer, int len, int initial_size, int* outlen, int parse_header)

Structs

stbi__context
struct stbi__context

////////////////////////////////////////////

stbi_io_callbacks
struct stbi_io_callbacks

///////////////////////////////////////////////////////////////////////////

Meta