stb icon indicating copy to clipboard operation
stb copied to clipboard

stb single-file public domain libraries for C/C++

Results 244 stb issues
Sort by recently updated
recently updated
newest added

**Describe the bug** There are tons of errors related to declaration shadows a local variable like this one: `error: declaration shadows a local variable [-Werror,-Wshadow] int z = get8_packet_raw(f);` **To...

1 stb_vorbis
2 warning

The following gets written to the console after calling stbi_load: Assertion failed: info.offset == s->callback_already_read + (int) (s->img_buffer - s->img_buffer_original) stb_image.h, line 5397 Here is the BMP that triggers the...

**I'd like to work with the TTF engine on platforms with less RAM than the TTF file is in size.** This header assumes gobs of memory, because it's geared for...

4 enhancement

my code function get_glyph_index2(...) #define BYTE_( p, i ) ( ((const unsigned char*)(p))[(i)] ) #define BYTE_U16( p, i, s1 ) ( (uint16_t)( BYTE_( p, i ) ) 8); unsigned char*...

4 enhancement

There is an infinite loop in the formatting of leading zeroes in float conversion: `while (tz) { stbsp__int32 i; stbsp__cb_buf_clamp(i, tz); tz -= i; while (i) { if ((((stbsp__uintptr)bf) &...

1 stb_sprintf
2 bug w/ repro

The function `void *stbi__load_main` calls `test()` functions for each image format. If the function succeeds, then it accepts that it is the proper image format and calls the corresponding loader...

4 enhancement
1 stb_image

### Discussed in https://github.com/nothings/stb/discussions/1282 Originally posted by **Jony01** January 31, 2022 I've trouble with initialisation of some fonts by function `stbtt_InitFont` which return zero List of unopenable font on my...

hi, i found stbir_resize_uint8_srgb decode srgb image to linear space before process, but when process done, data don't encode back to srgb color space. I think there should exist one...

4 enhancement

Hello! I have been unsuccesful in making stb_resize handle my alpha channel correctly when generating mipmaps for my textures. I am unable to make stb_resize treat the alpha channel as...