- 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.
- initSTBCallbacks
void initSTBCallbacks(IOStream* io, IOHandle handle, IOAndHandle* ioh, stbi_io_callbacks* stb_callback)
Undocumented in source. Be warned that the author may not have intended to support it.
- stb_eof
int stb_eof(void* user)
Undocumented in source. Be warned that the author may not have intended to support it.
- stb_read
int stb_read(void* user, char* data, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- stb_skip
void stb_skip(void* user, int n)
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__bitcount
int stbi__bitcount(uint a)
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__bmp_load
void* stbi__bmp_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__bmp_parse_header
void* stbi__bmp_parse_header(stbi__context* s, stbi__bmp_data* info)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__bmp_set_mask_defaults
int stbi__bmp_set_mask_defaults(stbi__bmp_data* info, int compress)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__bmp_test
int stbi__bmp_test(stbi__context* s)
Undocumented in source. Be warned that the author may not have intended to support it.
- stbi__bmp_test_raw
int stbi__bmp_test_raw(stbi__context* s)
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_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__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__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__high_bit
int stbi__high_bit(uint z)
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_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__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__shiftsigned
int stbi__shiftsigned(uint v, int shift, int bits)
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_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_guesssize_headerflag
ubyte* stbi_zlib_decode_malloc_guesssize_headerflag(const(char)* buffer, int len, int initial_size, int* outlen, int parse_header)
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.