- STBI_FREE
void STBI_FREE(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- STBI_MALLOC
void* STBI_MALLOC(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- STBI_REALLOC
void* STBI_REALLOC(void* p, size_t new_size)
Undocumented in source. Be warned that the author may not have intended to support it.
- STBI_REALLOC_SIZED
void* STBI_REALLOC_SIZED(void* ptr, size_t old_size, size_t new_size)
Undocumented in source. Be warned that the author may not have intended to support it.
- STBI__BYTECAST
ubyte STBI__BYTECAST(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
- STBI__PNG_TYPE
uint STBI__PNG_TYPE(char a, char b, char c, char d)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__addsizes_valid
int stbi__addsizes_valid(int a, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__at_eof
int stbi__at_eof(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__bit_reverse
int stbi__bit_reverse(int v, int bits)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__bitreverse16
int stbi__bitreverse16(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__check_png_header
int stbi__check_png_header(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__compute_huffman_codes
int stbi__compute_huffman_codes(stbi__zbuf* a)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__compute_transparency
int stbi__compute_transparency(stbi__png* z, stbi_uc* tc, int out_n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__compute_transparency16
int stbi__compute_transparency16(stbi__png* z, stbi__uint16* tc, int out_n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__compute_y
stbi_uc stbi__compute_y(int r, int g, int b)
///////////////////////////////////////////////////////////////////////////
- stbi__compute_y_16
stbi__uint16 stbi__compute_y_16(int r, int g, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__convert_16_to_8
stbi_uc* stbi__convert_16_to_8(stbi__uint16* orig, int w, int h, int channels)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__convert_8_to_16
stbi__uint16* stbi__convert_8_to_16(stbi_uc* orig, int w, int h, int channels)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__convert_format
ubyte* stbi__convert_format(ubyte* data, int img_n, int req_comp, uint x, uint y)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__convert_format16
stbi__uint16* stbi__convert_format16(stbi__uint16* data, int img_n, int req_comp, uint x, uint y)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__create_png_image
int stbi__create_png_image(stbi__png* a, stbi_uc* image_data, stbi__uint32 image_data_len, int out_n, int depth, int color, int interlaced)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__create_png_image_raw
int stbi__create_png_image_raw(stbi__png* a, stbi_uc* raw, stbi__uint32 raw_len, int out_n, stbi__uint32 x, stbi__uint32 y, int depth, int color)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__do_png
void* stbi__do_png(stbi__png* p, int* x, int* y, int* n, int req_comp, stbi__result_info* ri)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__do_zlib
int stbi__do_zlib(stbi__zbuf* a, ubyte* obuf, int olen, int exp, int parse_header)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__err
int stbi__err(const(char)* msg, const(char)* msgUser)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__err
int stbi__err(const(char)* msg, const(char)* msgUser)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__err
deprecated int stbi__err(const(char)* msg, const(char)* msgUser)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__errpf
deprecated float* stbi__errpf(const(char)* msg, const(char)* msgUser)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__errpuc
deprecated ubyte* stbi__errpuc(const(char)* msg, const(char)* msgUser)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__expand_png_palette
int stbi__expand_png_palette(stbi__png* a, stbi_uc* palette, int len, int pal_img_n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__fill_bits
void stbi__fill_bits(stbi__zbuf* z)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__float2int
int stbi__float2int(float x)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__float_postprocess
void stbi__float_postprocess(float* result, int* x, int* y, int* comp, int req_comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__get16be
int stbi__get16be(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__get16le
int stbi__get16le(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__get32be
stbi__uint32 stbi__get32be(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__get32le
stbi__uint32 stbi__get32le(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__get8
stbi_uc stbi__get8(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__get_chunk_header
stbi__pngchunk stbi__get_chunk_header(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__getn
int stbi__getn(stbi__context* s, stbi_uc* buffer, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__ldr_to_hdr
float* stbi__ldr_to_hdr(stbi_uc* data, int x, int y, int comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__load_and_postprocess_16bit
stbi__uint16* stbi__load_and_postprocess_16bit(stbi__context* s, int* x, int* y, int* comp, int req_comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__load_and_postprocess_8bit
ubyte* stbi__load_and_postprocess_8bit(stbi__context* s, int* x, int* y, int* comp, int req_comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__load_main
void* stbi__load_main(stbi__context* s, int* x, int* y, int* comp, int req_comp, stbi__result_info* ri, int bpc)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__mad2sizes_valid
int stbi__mad2sizes_valid(int a, int b, int add)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__mad3sizes_valid
int stbi__mad3sizes_valid(int a, int b, int c, int add)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__mad4sizes_valid
int stbi__mad4sizes_valid(int a, int b, int c, int d, int add)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__malloc_mad2
void* stbi__malloc_mad2(int a, int b, int add)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__malloc_mad3
void* stbi__malloc_mad3(int a, int b, int c, int add)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__malloc_mad4
void* stbi__malloc_mad4(int a, int b, int c, int d, int add)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__mul2sizes_valid
int stbi__mul2sizes_valid(int a, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__paeth
int stbi__paeth(int a, int b, int c)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__parse_huffman_block
int stbi__parse_huffman_block(stbi__zbuf* a)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__parse_png_file
int stbi__parse_png_file(stbi__png* z, int scan, int req_comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__parse_uncompressed_block
int stbi__parse_uncompressed_block(stbi__zbuf* a)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__parse_zlib
int stbi__parse_zlib(stbi__zbuf* a, int parse_header)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__parse_zlib_header
int stbi__parse_zlib_header(stbi__zbuf* a)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__png_info
int stbi__png_info(stbi__context* s, int* x, int* y, int* comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__png_info_raw
int stbi__png_info_raw(stbi__png* p, int* x, int* y, int* comp)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__png_is16
int stbi__png_is16(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__png_is16
bool stbi__png_is16(stbi_io_callbacks* clbk, void* user)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__png_load
void* stbi__png_load(stbi__context* s, int* x, int* y, int* comp, int req_comp, stbi__result_info* ri)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__png_test
int stbi__png_test(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__refill_buffer
void stbi__refill_buffer(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__rewind
void stbi__rewind(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__skip
void stbi__skip(stbi__context* s, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__start_callbacks
void stbi__start_callbacks(stbi__context* s, stbi_io_callbacks* c, void* user)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zbuild_huffman
int stbi__zbuild_huffman(stbi__zhuffman* z, stbi_uc* sizelist, int num)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zeof
int stbi__zeof(stbi__zbuf* z)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zexpand
int stbi__zexpand(stbi__zbuf* z, ubyte* zout, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zget8
stbi_uc stbi__zget8(stbi__zbuf* z)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zhuffman_decode
int stbi__zhuffman_decode(stbi__zbuf* a, stbi__zhuffman* z)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zhuffman_decode_slowpath
int stbi__zhuffman_decode_slowpath(stbi__zbuf* a, stbi__zhuffman* z)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__zreceive
uint stbi__zreceive(stbi__zbuf* z, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_err
int stbi_err(const(char)* str)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_failure_reason
const(char*) stbi_failure_reason()
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_hdr_to_ldr_gamma
void stbi_hdr_to_ldr_gamma(float gamma)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_hdr_to_ldr_scale
void stbi_hdr_to_ldr_scale(float scale)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_image_free
void stbi_image_free(void* retval_from_stbi_load)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_ldr_to_hdr_gamma
void stbi_ldr_to_hdr_gamma(float gamma)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_ldr_to_hdr_scale
void stbi_ldr_to_hdr_scale(float scale)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_load_16_from_callbacks
stbi_us* stbi_load_16_from_callbacks(const(stbi_io_callbacks)* clbk, void* user, int* x, int* y, int* channels_in_file, int desired_channels, float* ppmX, float* ppmY, float* pixelRatio)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_load_from_callbacks
stbi_uc* stbi_load_from_callbacks(const(stbi_io_callbacks)* clbk, void* user, int* x, int* y, int* comp, int req_comp, float* ppmX, float* ppmY, float* pixelRatio)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_lrot
uint stbi_lrot(uint x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_zlib_decode_malloc
ubyte* stbi_zlib_decode_malloc(const(char)* buffer, int len, int* outlen)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_zlib_decode_malloc_guesssize
ubyte* stbi_zlib_decode_malloc_guesssize(char* buffer, int len, int initial_size, int* outlen)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi_zlib_decode_malloc_guesssize_headerflag
ubyte* stbi_zlib_decode_malloc_guesssize_headerflag(char* buffer, int len, int initial_size, int* outlen, int parse_header)
Undocumented in source. Be warned that the author may not have intended to support it.
PNG image loading. D translation of stb_image-2.27 This port only support PNG loading, 8-bit and 16-bit.