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

**Is your feature request related to a problem? Please describe.** Using C++ comments in public headers causes compilation errors in projects that enforce the C98/C90 standard or use the C99-incompatible...

4 enhancement

Tiny little one-char change to stop the basic usage example from throwing a missing-semicolon error. This one's bugged me for years, I always end up metaphorically stubbing my toe on...

1 stb_image
2 good-no changes needed
3 documentation fix
2 add credit

1 stb_truetype
3 comment typo

This writer takes linear float data and losslessly outputs files with the same number of components as the input. The images it writes contain 32-bit full floats from the original...

1 stb_image_write

This patch adds write support for 16-bit PNG. I tried to mimic the way it is done on the read side, by having a special _16 function. I didn't modify...

1 stb_image_write

The 16-bpc file formats loaded by stb_image currently (PNG and PSD) just discard the bottom 8-bits, since there's nothing reasonable to do on the 8-bit path. However, they should also...

4 enhancement
1 stb_image

**Is your feature request related to a problem? Please describe.** Radiance .hdr does not support negative values. Thus, any out-of-gamut colors get clipped in the normal RGBE format. Meaning, the...

4 enhancement

**Is your feature request related to a problem? Please describe.** I'm actively developing a game for a legacy system. The compiler does not provide `stdint.h`, which seems to be a...

4 enhancement

Allow users to define their own STBTT_DEF. Other headers such as stb_image.h and stb_image_write.h have a similar mechanism. I ran into a "STBTT_DEF redefined" compiler warning and figured that stb_truetype.h...

**Describe the bug** Apparently there's a division by zero in `stbtt__fill_active_edges_new()` on that line: ``` dy = (y_final - y_crossing ) / (x2 - (x1+1)); // if denom=0, y_final =...