stb
stb copied to clipboard
stb single-file public domain libraries for C/C++
**Describe the bug** I've tried replacing `STBDS_REALLOC` and `STBDS_FREE` as instructed in the comments but I think I found a tiny bug. Since `STBDS_FREE` is used in stb_ds.h outside of...
Hello, we (@lixing-star @MQ-mengqing) are the developers of the Loongson team. We have added 128 (LSX) vector optimization codes for the Loongarch architecture. LonngArch Documents: - [LoongArch Reference Manual -...
ARM64 always has NEON instructions so it will be good to define STBI_NEON automatically.
stb_image already supports binary ppm and pgm files. So I think it will be good to add support for pbm too. I also added some test files and added pbm...
**Describe the bug** When calling stbtt_GetCodepointHMetrics() on every character of a string, after a certain point the advanceWidth ends up being set to weird values. When using Arial, the advance...
This pull request introduces additional fuzzers to enhance the fuzzing coverage of the stb_image.h library in oss-fuzz, specifically targeting the testing of various image format loader functions.
Extending on #393 Since MSVC now supports address sanitizer, it appears to be throwing the same issues as other platforms This PR adds compiler checks and appropriate declspecs for MSVC...
Hi this PR tries to fix the issue #1608, as `stbi__process_marker` returns `0` when the image is corrupted (with bad markers), so I believe that we should also return `0`...
**Describe the bug** stbsp_vsnprintf and stbsp_snprintf have incorrect function signatures according to the C specification. According to n3096 7.23.6.5 and 7.23.6.12 the second parameter to [v]snprintf should be of type...