stb
stb copied to clipboard
stb single-file public domain libraries for C/C++
fix for RGB->BGR three channel flips and add SIMD (thanks to Ryan Salsbury) fix for sub-rect resizes use pragmas to control unrolling when they are available.
When creating a char literal token, its end pointed one character after its actual end. See #1652.
The stb C lexer consumes one extra character when parsing a char literal. This can be demonstrated with this code: ```c stb_lexer l = {0}; char source[] = "char lit...
**Describe the bug** Hi, I am maintainer on FreeBSD and you have some problem on arm7 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279369 ``` In file included from /wrkdirs/usr/ports/devel/raylib/work/raylib-5.0/src/rtextures.c:216: /wrkdirs/usr/ports/devel/raylib/work/raylib-5.0/src/external/stb_image_resize2.h:2422:22: error: implicit declaration of function 'vld1q_f16'...
Hi there, I use stb_ds.h in a project of mine for hash maps. When I compile and run it with valgrind's memory leak checks enabled on linux, it detects a...
When defining `STBI_NO_JPEG`, the `GCC` compiler starts to show warnings: ` stb_image.h:1078:12: warning: 'int stbi__mul2shorts_valid(int, int)' defined but not used [-Wunused-function] 1078 | static int stbi__mul2shorts_valid(int a, int b) stb_image.h:1070:12:...
Caused first 4 pixels of every line to have bad colors. Not noticable unless the image has bright colors along the left edge.
**Describe the bug** https://github.com/nothings/stb/blob/master/stb_image_write.h#L767 does not check the malloc return value, when it can be NULL and later dereferenced **To Reproduce** Found with CodeQL query https://github.com/github/codeql/pull/16524 (only finding in this...
VS2022 ::: Severity Code Description Project File Line Suppression State Details Error LNK2001 unresolved external symbol stbir_resize_uint8 RysuneBotGUI C:\Users\User\Desktop\Quansen\RysuneBotGUI\main.obj 1 Line of Code: int desired_width = 720; int desired_height =...