2216 Commits

Author SHA1 Message Date
Sean Barrett
f1c79c0282 Merge pull request #1851 from jeffrbig2/master
stb_image_resize 2.17 - fix silly format bug in resize easy-to-use apis
2025-10-25 15:38:56 -07:00
Jeff Roberts (LA)
cf79a48197 fix silly format bug in easy-to-use apis 2025-10-25 12:06:56 -07:00
Sean Barrett
4c56459497 update readme 2025-10-22 14:55:44 -07:00
Jeff Roberts (LA)
f7381b3aae stb_image_resize 2.16 - fixed the easy-to-use APIs to allow inverted bitmaps (negative strides), fix vertical filter kernel callback, fix threaded gather buffer priming (and assert) 2025-10-22 13:30:41 -07:00
Sean Barrett
fede005aba Merge pull request #1820 from jeffrbig2/resize2.14
stb_image_resize2 2.15 - couple small unusual asssert and warning workarounds
2025-09-07 13:07:34 -07:00
Jeff Roberts (LA)
f6142a72e0 stb_image_resize2 - couple small unusual asssert and warning workarounds 2025-07-17 14:58:12 -07:00
Sean Barrett
f58f558c12 fix typo 2025-05-26 05:08:07 -07:00
codealpha07
981f08afbc Fixed typo in readme.header.md 2025-05-26 12:37:08 +05:30
Sean Barrett
802cd454f2 Create SECURITY.md 2025-05-12 04:17:57 -07:00
Sean Barrett
2dfbe86bef update stb_image_resize2 & readme 2025-05-12 03:48:59 -07:00
Jeff Roberts (LA)
8cfb1605c0 resize 2.14 - fix off edge nans leaking in on some resize types 2025-05-09 13:11:07 -07:00
Sean Barrett
f0569113c9 update stb_image_resize2.h 2025-03-14 11:27:34 -07:00
Jeff Roberts (LA)
adc1672878 Resize 2.13 -
fixed a bug when using input callbacks, 
turned off simd for tiny-c, 
fixed some variables that should have been static,
fixes a bug when calculating temp memory with resizes that exceed 2GB of temp memory (very large resizes).
2025-02-28 11:02:10 -08:00
Sean Barrett
5c205738c1 Merge branch 'master' of https://github.com/nothings/stb 2024-11-08 23:02:08 -08:00
Sean Barrett
40adb995ab fix accidental check-in of typo in stb_ds.h 2024-11-08 23:01:49 -08:00
Sean Barrett
0dd01c26ef Update issue templates 2024-11-08 04:05:02 -08:00
Sean Barrett
758b6365ae reorder issues 2024-11-08 03:58:10 -08:00
Sean Barrett
42b75e7941 Update config.yml 2024-11-08 04:00:39 -08:00
Sean Barrett
8828c2e317 Update issue templates
add specific issue for stb_image incorrect load
2024-11-08 03:58:29 -08:00
Sean Barrett
2e2bef463a stb_image_resize2: update version number 2024-10-18 10:26:20 -07:00
xchellx
44092a1079 Fix typo in fix (yes this does fix the ASAN error) 2024-10-18 01:22:02 -04:00
xchellx
9855da7cb6 Update STBIR__FREE_AND_CLEAR fix as per suggestions 2024-10-18 00:19:29 -04:00
xchellx
0625101dd3 Fix STBIR__FREE_AND_CLEAR causing null reference member access
`stb_image_resize2.h:6734:5: runtime error: member access within null pointer of type 'stbir__info' (aka 'struct stbir__info')`
2024-10-17 23:47:31 -04:00
Sean Barrett
31707d14fd update readme 2024-10-02 12:41:37 -07:00
Jeff Roberts (Bellevue)
af07f9d6e9 image resize 2.11 - fix harmless asan, fix point sample crash 2024-09-08 19:05:03 -07:00
Sean Barrett
f75e8d1cad update README 2024-07-28 21:39:05 -07:00
Jeff Roberts (Bellevue)
64e783d738 resize 2.10 - fix gcc loop control and msvc arm32 2024-07-27 14:12:30 -07:00
Sean Barrett
f7f20f39fe update README 2024-07-15 08:30:22 -07:00
Sean Barrett
8503b88874 Merge branch 'resize_latest' of https://github.com/jeffrbig2/stb into working 2024-07-15 08:29:18 -07:00
Sean Barrett
6e9f34d542 Merge branch 'master' into working 2024-07-15 08:28:08 -07:00
Jeff Roberts (Bellevue)
2a58424876 2.09 resize - fix defines for GCC arm 32 2024-06-19 10:41:02 -07:00
Sean Barrett
013ac3bedd stb_image: fix gcc bounds-check warning (believed erroneous) 2024-05-31 10:43:47 -07:00
Sean Barrett
449758bd74 update stb_image_resize2.h 2024-05-25 10:56:08 -07:00
Jeff Roberts (Bellevue)
43201e7788 image resize 2.07 2024-05-24 18:48:38 -07:00
Sean Barrett
ae721c50ea Merge pull request #1609 from jeffrbig2/fix_coeffs
Fix bug in coeff gen on more than 3x downsamples with w and h equal
2024-02-12 23:49:35 -08:00
Jeff Roberts (Bellevue)
2fb057af65 remove test 2024-02-12 22:14:27 -08:00
Jeff Roberts (Bellevue)
1828f357dc Fix bug in coeff generation on more than 3x downsamples with width and height scale equal 2024-02-12 22:10:02 -08:00
Sean Barrett
b7cf124628 stb_image: fix VC6 2024-02-08 13:24:06 -08:00
Jeff Roberts (Bellevue)
c59da6729e Mark row0 as unused 2024-02-08 12:53:51 -08:00
Jeff Roberts (Bellevue)
7f7e3469cf clean up comments 2024-02-08 10:36:54 -08:00
Jeff Roberts (Bellevue)
7a075fe7c7 Fix 2 pixel to 1 pixel with wrap
Fix output buffer for output callback
2024-02-04 14:42:51 -08:00
Sean Barrett
f4a71b1337 README.md: tweak credits 2023-12-14 10:59:23 -08:00
Sean Barrett
a8a25e17b5 update readme version numbers 2023-12-14 03:13:59 -08:00
Sean Barrett
0bc88af4de stb_image: optimizations 2023-12-14 03:13:59 -08:00
Sean Barrett
0ca75da4ec stb_image_resize2: remove whitespace 2023-12-14 03:13:59 -08:00
Sean Barrett
9d924f8a47 stb_image_resize: 2.04 2023-12-14 03:13:59 -08:00
Fabian Giesen
4da08a1dbd stb_image: create_png_image_raw restructuring
Allocate filter_buf for two scan lines that we do all the filter
processing in, then do all other conversions (bit depth,
endianness, inserting alpha=255 values) on the way out.

Separating the two concerns makes everything much clearer.
2023-12-14 03:13:59 -08:00
Fabian Giesen
c6d7c32e5d stb_image: Two warning fixes 2023-12-14 03:13:59 -08:00
Fabian Giesen
07268cbf36 stb_image: New Paeth filter
This formulation is equivalent to the original (reference)
implementation but runs _significantly_ faster - this speeds up
the filtering portion of a Paeth-heavy 8192x8192 16-bit/channel
image by a factor of more than 2 on a Zen2 CPU.

I'm investigating doing a more thorough restructuring of this pass,
but this seems like a good first step.
2023-12-14 03:13:59 -08:00
Fabian Giesen
ed64333410 tests: test_png_regress
I want to make some changes to the PNG loader, this is to get some
test coverage at least to make it easier not to break anything.

The two ref_results files that are "corrupt" files that stb_image
nevertheless loads without error are checksum failures; this is
by design, since stb_image does not verify checksums.
2023-12-14 03:13:59 -08:00