Compare commits
10 Commits
31707d14fd
...
5c205738c1
Author | SHA1 | Date | |
---|---|---|---|
|
5c205738c1 | ||
|
40adb995ab | ||
|
0dd01c26ef | ||
|
758b6365ae | ||
|
42b75e7941 | ||
|
8828c2e317 | ||
|
2e2bef463a | ||
|
44092a1079 | ||
|
9855da7cb6 | ||
|
0625101dd3 |
15
.github/ISSUE_TEMPLATE/1-stb_image-doesn-t-load-specific-image-correctly.md
vendored
Normal file
15
.github/ISSUE_TEMPLATE/1-stb_image-doesn-t-load-specific-image-correctly.md
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
name: stb_image Doesn't Load Specific Image Correctly
|
||||
about: if an image displays wrong in your program, and you've verified stb_image is
|
||||
the problem
|
||||
title: ''
|
||||
labels: 1 stb_image
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
1. **Confirm that, after loading the image with stbi_load, you've immediately written it out with stbi_write_png or similar, and that version of the image is also wrong.** If it is correct when written out, the problem is not in stb_image. If it displays wrong in a program you're writing, it's probably your display code. For example, people writing OpenGL programs frequently do not upload or display the image correctly and assume stb_image is at fault even though writing out the image demonstrates that it loads correctly.
|
||||
|
||||
2. *Provide an image that does not load correctly using stb_image* so we can reproduce the problem.
|
||||
|
||||
3. *Provide an image or description of what part of the image is incorrect and how* so we can be sure we've reproduced the problem correctly.
|
1
.github/ISSUE_TEMPLATE/config.yml
vendored
1
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,3 +1,4 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: support forum
|
||||
url: https://github.com/nothings/stb/discussions/categories/q-a
|
||||
|
@ -27,7 +27,7 @@ library | lastest version | category | LoC | description
|
||||
**[stb_image.h](stb_image.h)** | 2.30 | graphics | 7988 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
|
||||
**[stb_truetype.h](stb_truetype.h)** | 1.26 | graphics | 5079 | parse, decode, and rasterize characters from truetype fonts
|
||||
**[stb_image_write.h](stb_image_write.h)** | 1.16 | graphics | 1724 | image writing to disk: PNG, TGA, BMP
|
||||
**[stb_image_resize2.h](stb_image_resize2.h)** | 2.11 | graphics | 10600 | resize images larger/smaller with good quality
|
||||
**[stb_image_resize2.h](stb_image_resize2.h)** | 2.12 | graphics | 10601 | resize images larger/smaller with good quality
|
||||
**[stb_rect_pack.h](stb_rect_pack.h)** | 1.01 | graphics | 623 | simple 2D rectangle packer with decent quality
|
||||
**[stb_perlin.h](stb_perlin.h)** | 0.5 | graphics | 428 | perlin's revised simplex noise w/ different seeds
|
||||
**[stb_ds.h](stb_ds.h)** | 0.67 | utility | 1895 | typesafe dynamic array and hash tables for C, will compile in C++
|
||||
@ -45,7 +45,7 @@ library | lastest version | category | LoC | description
|
||||
**[stb_include.h](stb_include.h)** | 0.02 | misc | 295 | implement recursive #include support, particularly for GLSL
|
||||
|
||||
Total libraries: 21
|
||||
Total lines of C code: 51087
|
||||
Total lines of C code: 51088
|
||||
|
||||
|
||||
FAQ
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* stb_image_resize2 - v2.11 - public domain image resizing
|
||||
/* stb_image_resize2 - v2.12 - public domain image resizing
|
||||
|
||||
by Jeff Roberts (v2) and Jorge L Rodriguez
|
||||
http://github.com/nothings/stb
|
||||
@ -327,6 +327,7 @@
|
||||
Nathan Reed: warning fixes for 1.0
|
||||
|
||||
REVISIONS
|
||||
2.12 (2024-10-18) fix incorrect use of user_data with STBIR_FREE
|
||||
2.11 (2024-09-08) fix harmless asan warnings in 2-channel and 3-channel mode
|
||||
with AVX-2, fix some weird scaling edge conditions with
|
||||
point sample mode.
|
||||
@ -6731,7 +6732,7 @@ static void stbir__free_internal_mem( stbir__info *info )
|
||||
STBIR__FREE_AND_CLEAR( info->horizontal.coefficients );
|
||||
STBIR__FREE_AND_CLEAR( info->horizontal.contributors );
|
||||
STBIR__FREE_AND_CLEAR( info->alloced_mem );
|
||||
STBIR__FREE_AND_CLEAR( info );
|
||||
STBIR_FREE( info, info->user_data );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user