Commit Graph

1654 Commits

Author SHA1 Message Date
Cap Petschulat 6ab920bb6a stb_image_write: fix png compression level typos 2018-02-05 15:48:17 +09:00
Simon Rodriguez 34f087ce4c stb_image_write: fix indexing error when computing PNG filters with the stbi__flip_vertically_on_write on.
The PNG filters of the pixels row N are computed using row N-1 of the final image. If the image should be flipped when saving, this corresponds to row N+1 of the initial image.
2018-02-04 20:12:20 +01:00
Sean Barrett a77d9213e4 stb_vorbis: no dealloca 2018-02-01 03:53:17 -08:00
Sean Barrett a6796aee40 test stb_lib 2018-01-31 10:46:31 -08:00
Sean Barrett 0ba9ff6599 stb_image: fix unused variable warning 2018-01-31 07:50:07 -08:00
Jordan Peck 15685cc4d4
Removed seed from documentation 2018-01-31 12:33:35 +00:00
Sean Barrett 6ba21df503 update dsp with new compile tests 2018-01-30 17:33:17 -08:00
Sean Barrett 48168170a1 stb_truetype: add STBTT_fmod 2018-01-30 17:05:57 -08:00
Jordan ca6548c30a Changed gradient idx table to match previous implementation, removed seeds from public API 2018-01-30 21:03:35 +00:00
Sean Barrett 73990fefe7 update readme 2018-01-30 05:48:45 -08:00
Sean Barrett a9672961c9 more cases of STB_NO_HDR and STB_NO_LINEAR interfering 2018-01-30 05:45:59 -08:00
Sean Barrett 40f43afe56 tweak tests 2018-01-30 05:40:17 -08:00
Sean Barrett 602e986824 fix STBI_NO_HDR and STBI_NO_LINEAR to compile correctly even if you don't #include <math.h> 2018-01-30 05:39:29 -08:00
Sean Barrett 085ba4b627 add compilation tests that have no other includes to avoid accidental dependencies 2018-01-30 05:31:18 -08:00
Sean Barrett 01daa3a244 stb_sprintf: fix size-only snprintf query 2018-01-30 05:29:31 -08:00
Sean Barrett ccee11ad79 stb_image: fix warnings 2018-01-30 05:28:37 -08:00
Sean Barrett 3ac351f39d break out stb_lib.h 2018-01-30 05:16:47 -08:00
Sean Barrett 06fedddb4d fix stb_dxt.h; fix misspelled STB_DXT_IMPLEMENTATION in test jig 2018-01-30 02:56:16 -08:00
Daniel Ribeiro Maciel e460d1a8d8 Add basic GPOS kerning 2018-01-30 00:12:46 -02:00
Sean Barrett f2974f6c1c update readme version number 2018-01-29 15:21:12 -08:00
Sean Barrett 663deb3a43 redo lost stb_vorbis fixes 2018-01-29 15:20:54 -08:00
Sean Barrett 7855d2dc87 version numbers in readme 2018-01-29 14:52:14 -08:00
Jordan 67f588cbb5 Added seed to perlin and fractals
Removed broken wrap from fractals
Used varied seeds for fractal octaves to remove artifact at origin
Removed indicies table in favour of mod12 permutation table, this reduces gradient bias and gives 3% performance increase
2018-01-29 22:50:45 +00:00
Sean Barrett dfff6f5e7c stb_image: fix assert macro usage; stb_vorbis: changelog 2018-01-29 13:15:10 -08:00
Sean Barrett 476b4c7a72 update readme 2018-01-29 08:22:21 -08:00
Sean Barrett 037926ab74 fix warnings, bad error handling 2018-01-29 08:18:19 -08:00
Sean Barrett b2c2419b1b stb_image: avoid arithmetic overflow in png case 2018-01-29 08:14:53 -08:00
Sean Barrett 445473bdb5 stb_image_write: handle malloc failure in zlib 2018-01-29 08:03:56 -08:00
Sean Barrett 4fd9019c0f stb_image: avoid signed left shifts 2018-01-29 07:57:23 -08:00
Sean Barrett 74a21dc615 fix compiler warnings 2018-01-29 07:52:21 -08:00
Sean Barrett 9b2522c3d5 stbi_is_hdr_from_file needs to reset file position 2018-01-29 07:48:12 -08:00
Sean Barrett 87352fdcb5 stb_truetype: fix bug in handling of stbtt_hheap that could cause severe badness 2018-01-29 07:44:54 -08:00
Sean Barrett db4d92891c fix stb_sdict_for() 2018-01-29 07:44:04 -08:00
Sean Barrett 3025377f4a fix stb_textedit redo, from omar cornut 2018-01-29 07:23:54 -08:00
Sean Barrett b969dc38f3 stb_image_write: fix for fopen_s failure case 2018-01-29 06:06:29 -08:00
Sean Barrett 3f01acced4 stb_textedit: allow overriding key-input typedef 2018-01-29 05:39:48 -08:00
Sean Barrett d808adb77f stb_dxt: fix bug with constant color & varying alpha 2018-01-29 05:17:07 -08:00
Sean Barrett 76ec599c68 stb_truetype - remove duplicate definition 2018-01-29 05:03:38 -08:00
Sean Barrett ee0ebfc79b version numbers 2018-01-29 04:59:32 -08:00
Sean Barrett 5db03ef592 Merge branch 'master' into working
Conflicts:
	stb_image.h
2018-01-29 04:04:28 -08:00
Sean Barrett 094cb31ec8 stb_image: compile as C; stb_image_write: credits 2018-01-29 04:03:18 -08:00
Sean Barrett faf08e0018 Merge branch 'stb_image_write_mscrt_errors' of https://github.com/xeekworx/stb 2018-01-29 04:01:29 -08:00
Sean Barrett 4254a9f237 stb_truetype credits 2018-01-29 03:59:48 -08:00
Sean Barrett 8732cff6c4 Merge branch 'winding-lengths-warning' of https://github.com/RobLoach/stb 2018-01-29 03:59:17 -08:00
Sean Barrett da4a7a1d6f Merge branch 'patch-2' of https://github.com/wojdyr/stb 2018-01-29 03:51:23 -08:00
Sean Barrett ae00f3a5f0 stb_image credits 2018-01-29 03:50:42 -08:00
Sean Barrett 1b9689cf77 Merge branch 'feature/gif_frames' of https://github.com/tocchan/stb 2018-01-29 03:50:03 -08:00
Sean Barrett f9d78c05a9 stb_image credits 2018-01-29 03:49:53 -08:00
Sean Barrett edf35ad14c Merge branch 'master' of https://github.com/jlnr/stb 2018-01-29 03:43:08 -08:00
Sean Barrett 0bd0d049e7 stb_image docs 2018-01-29 03:42:34 -08:00