This website requires JavaScript.
0b81a54354
Merge branch 'cff-type2-fixes' of https://github.com/dougallj/stb
Sean Barrett
2018-01-29 03:29:01 -08:00
72ef9dcbad
fix fall-through case warning, add credit
Sean Barrett
2018-01-29 03:27:58 -08:00
8cc624142b
credits
Sean Barrett
2018-01-29 03:25:02 -08:00
82f1929de5
Merge branch 'patch-1' of https://github.com/darealshinji/stb
Sean Barrett
2018-01-29 03:23:53 -08:00
da4b342213
credits
Sean Barrett
2018-01-29 03:23:45 -08:00
ab4fb5c38a
Merge branch '1bit_bmp' of https://github.com/plzombie/stb
Sean Barrett
2018-01-29 03:22:12 -08:00
b0383facf8
Merge branch 'master' of https://github.com/lieff/stb
Sean Barrett
2018-01-29 03:20:21 -08:00
41cd8bb527
Merge branch 'patch-1' of https://github.com/twoscomplement/stb
Sean Barrett
2018-01-29 03:19:34 -08:00
5f1a73fe4e
credits, tests
Sean Barrett
2018-01-29 03:18:40 -08:00
9eb0e72950
Merge branch 'must_make_clang_happy_as_clam' of https://github.com/croepha/stb
Sean Barrett
2018-01-29 03:17:50 -08:00
e5946524d7
Merge branch 'patch-1' of https://github.com/wojdyr/stb
Sean Barrett
2018-01-29 03:15:17 -08:00
3d7b4251f9
Merge branch 'png-ext-write' of https://github.com/akx/stb
Sean Barrett
2018-01-29 03:14:31 -08:00
b48101c971
Merge branch 'update_stbi_jpg_dcoumentation' of https://github.com/Benjins/stb
Sean Barrett
2018-01-29 02:57:46 -08:00
f541fa1710
Merge branch 'valgrind-fix' of https://github.com/rohit-n/stb
Sean Barrett
2018-01-29 02:56:43 -08:00
35a3bf41e8
Integrate ZLIB changed from Daniel Gibson, fixup credits
Sean Barrett
2018-01-29 02:55:56 -08:00
9de22e5a70
Merge branch 'stbiw-png-compr' of https://github.com/DanielGibson/stb
Sean Barrett
2018-01-29 02:53:25 -08:00
39241e4928
update version number
Sean Barrett
2018-01-29 02:53:14 -08:00
b056850ea9
stb_image_write can flip images vertically
Sean Barrett
2018-01-29 02:52:49 -08:00
e371bd83f2
Merge branch 'sb_cpluscplus' of https://github.com/ZenToad/stb
Sean Barrett
2018-01-29 02:47:36 -08:00
593c9b7192
rewrite stbi__shiftsigned to use a different, faster algorithm to avoid probelm with clang -O2 to outputting buggy code
Sean Barrett
2018-01-29 02:30:34 -08:00
68f857727c
add stb_ucharcmp to stb.h
Sean Barrett
2018-01-29 02:24:05 -08:00
244d83bc3d
fix unchecked length in stb_vorbis that could crash on corrupt/invalid files
Sean Barrett
2018-01-29 02:23:18 -08:00
76d9e05b2f
Merge branch 'stb_image_write_mscrt_errors' of https://github.com/xeekworx/stb into stb_image_write_mscrt_errors
John Tullos
2018-01-01 19:02:00 -06:00
841862a622
Fixed grammar, spelling issues in comments issue #533
John Tullos
2018-01-01 18:56:36 -06:00
eb17d8a6dd
Fixed grammar, spelling issues in comments
John Tullos
2018-01-01 18:56:36 -06:00
32a7d5ab68
Added STBI_MSC_SECURE_CRT to support newer MSVC compilers as optional For issue #533
John Tullos
2018-01-01 18:54:26 -06:00
5e844ffe70
Using secure versions of CRT calls to avoid Microsoft Visual C/C++ compiler errors/warnings.
John Tullos
2018-01-01 18:08:30 -06:00
5c2c826df9
stb_truetype: Silence warnings of winding_lengths
Rob Loach
2017-12-24 13:57:03 -05:00
3a969eb64c
remove duplicated pr = 0
Marcin Wojdyr
2017-12-07 15:30:43 +00:00
de75509b1c
Remove a nullptr
Chris Forseth
2017-11-27 23:42:13 -06:00
03b4bbc5d2
Fix a disposal flag mistype. Only clear to background color if index is non-zero. Fixed a the disposal test gif I was using - now renders properly (gif has no transparent set, but all renderers still considered it transparent. Spec says 0 should be ignored if 0, but was confusing by saying it only in the context of the pal not existing.. but seems to be the case always.
Chris Forseth
2017-11-27 23:32:44 -06:00
28c28b0bd2
Per the contributor doc - added my name. Noticed urraka also did some work here, so hopefully didn't step on any toes.
Chris Forseth
2017-11-27 23:06:53 -06:00
87a3143fb4
GIF Loading - multiple frames; - Allow loading a gif as multiple frames into a single buffer. Each frame is a full image seperated by a (w * h * comp) stride. - Optionally, can pass in a pointer to a int, which will be filled with an array layers long contain ms for each frame. - Fix gif's not loading the initial transparent background - I believe also fix disposal rules for subsequent frames (though being somewhat inefficient with memory to do so) - Add a flip_vertical that takes into account slices as well.
Chris Forseth
2017-11-27 22:41:51 -06:00
4bffebc5f0
Avoid warning about unused stbi__float_postprocess
Julian Raschke
2017-11-25 17:23:33 +08:00
fcf0b99601
add stbi_is_16
Anaël Seghezzi
2017-11-24 14:36:37 +01:00
4c1a786455
Revert "return comp info in bytes (support for 16 bit images)"
Anaël Seghezzi
2017-11-24 14:35:14 +01:00
9dfa8c7f31
return comp info in bytes (support for 16 bit images)
Anaël Seghezzi
2017-11-24 13:44:39 +01:00
6e50ac7860
stb_truetype: Fix undefined function warning
Kenney Phillis Jr
2017-11-04 03:35:02 -05:00
5182622b14
tests: fix test_trutype.c on msvc 2015
Kenney Phillis Jr
2017-11-04 03:28:03 -05:00
a981af59c5
Fix tests compilation
Aldo Culquicondor
2017-10-16 12:30:27 -05:00
1f2b4271e3
stb_truetype: Fix CFF GetGlyphBox optional params
Dougall Johnson
2017-10-14 11:59:09 +11:00
84fd09ea53
stb_truetype: Fix sign error in CFF push immediate
Dougall Johnson
2017-10-14 11:58:03 +11:00
b6b43df186
Use stbi__mad4sizes_valid() only if STBI_NO_LINEAR or STBI_NO_HDR are defined
darealshinji
2017-09-04 14:01:43 +02:00
350173026a
stb_image: support for 1-bit BMP
Mikhail Morozov
2017-09-01 02:06:06 +03:00
c06c9fe6bc
place const tables to protected .rdata section
lieff
2017-08-31 19:33:28 +03:00
c8245bbf22
Remove arg from memset macro
Jonathan Adamczewski
2017-08-28 23:13:39 -07:00
2545eee3ef
Added myself as a contributor for the pull request
Dave Butler
2017-08-25 08:24:58 -09:00
f57bc38ff6
Made some changes to make Clang Happy
Dave Butler
2017-08-25 08:02:35 -09:00
7d80a8b44d
avoid GCC7 implicit-fallthrough warning
Marcin Wojdyr
2017-08-11 00:19:18 +01:00
2c7b00ac21
Add force_filter and compression_level parameters to (new) stbi_write_png_to_mem_ex
Aarni Koskela
2017-08-07 14:52:53 +03:00
923c9c3deb
Correct function signature in stbi_write_jpg usage documentation.
Benji Smith
2017-07-31 22:22:56 -07:00
747b8d8f71
stb_sprintf.h: Don't compare uninitialized value when using zero. This prevents a "Conditional jump or move depends on uninitialised value(s)" error from valgrind when using zero as an argument in line 1045.
Rohit Nirmal
2017-07-27 23:51:36 -05:00
9d9f75eb68
update readme
Sean Barrett
2017-07-24 03:32:32 -07:00
961923b5a3
fix documentation
Sean Barrett
2017-07-24 03:32:20 -07:00
dd039e8cc5
credits for mingw fixes in #444
Sean Barrett
2017-07-23 14:13:07 -07:00
3b232a3ff7
Merge branch 'master' of https://github.com/Infatum/stb into dev
Sean Barrett
2017-07-23 14:10:17 -07:00
555efbedfc
Update version numbers
Sean Barrett
2017-07-23 14:09:39 -07:00
0fbbda56fa
stb_image: Account for tRNS chunk in non-paletted images.
Fabian Giesen
2017-07-23 01:41:12 -07:00
7725f8b9cd
stb_leakcheck: Derp, I should free the right thing.
Fabian Giesen
2017-07-23 01:33:21 -07:00
5a5cf7f9ba
stb_leakcheck: Make stb_leakcheck_free actually free.
Fabian Giesen
2017-07-22 20:44:27 -07:00
5ebeb38edb
stb_rect_pack: Remove unused rect_width_compare().
Fabian Giesen
2017-07-22 20:25:57 -07:00
c59cb96874
Merge branch 'fix-issue-461' of https://github.com/rygorous/stb into dev
Fabian Giesen
2017-07-22 19:44:05 -07:00
fedf03e774
Merge branch 'fix-issue-466' of https://github.com/rygorous/stb into dev
Fabian Giesen
2017-07-22 19:42:52 -07:00
282576fbfb
Merge branch 'rygorous-fix-issue-276' into dev
Fabian Giesen
2017-07-22 19:42:23 -07:00
9b6652fe3a
Merge branch 'rygorous-sprintf_reformat' into dev
Fabian Giesen
2017-07-22 19:41:40 -07:00
b1d058e5c7
stb_truetype: Fix typo, as pointed out by oyvindjam.
Fabian Giesen
2017-07-22 19:37:03 -07:00
30c7c6b583
stb_truetype: Support reading OS/2 vertical metrics
Fabian Giesen
2017-07-22 19:24:41 -07:00
49c7f1b397
stb_image: Optimise vertical flip.
Fabian Giesen
2017-07-22 18:43:36 -07:00
501812f307
stb_leakcheck: Fix warnings.
Fabian Giesen
2017-07-22 18:03:52 -07:00
931662ae6e
stb_image_write: Warning fix.
Fabian Giesen
2017-07-22 16:04:07 -07:00
25a2596b2f
stb_image: Fix rounding during unpremultiply.
Fabian Giesen
2017-07-22 15:59:41 -07:00
463dd85f1f
Merge branch 'Reedbeta-fix-vs2015-warnings' into dev
Fabian Giesen
2017-07-22 15:51:28 -07:00
3ef1cb174e
Merge branch 'fix-vs2015-warnings' of https://github.com/Reedbeta/stb into Reedbeta-fix-vs2015-warnings
Fabian Giesen
2017-07-22 15:51:14 -07:00
69ef103721
Merge branch 'poppolopoppo-load_16_variants' into dev
Fabian Giesen
2017-07-22 15:42:58 -07:00
4868b5283b
stb_dxt: Update contributors list.
Fabian Giesen
2017-07-22 15:40:27 -07:00
316571b395
stb_image: 3-char indent and other minor formatting issues.
Fabian Giesen
2017-07-22 15:38:56 -07:00
b226e71ce6
Merge branch 'load_16_variants' of https://github.com/poppolopoppo/stb into poppolopoppo-load_16_variants
Fabian Giesen
2017-07-22 15:35:32 -07:00
31f8c2109b
Merge branch 'ppiastucki-bc4' into dev
Fabian Giesen
2017-07-22 15:29:50 -07:00
e9b8f7ea35
Merge branch 'bc4' of https://github.com/ppiastucki/stb into ppiastucki-bc4
Fabian Giesen
2017-07-22 15:28:27 -07:00
14c2993310
Merge branch 'realitix-robustify' into dev
Fabian Giesen
2017-07-22 15:23:14 -07:00
b53457130d
Merge branch 'robustify' of https://github.com/realitix/stb into realitix-robustify
Fabian Giesen
2017-07-22 15:22:57 -07:00
7a6251689f
Merge branch 'h-s-c-stb_dxt_static' into dev
Fabian Giesen
2017-07-22 15:13:13 -07:00
99df133ae4
Merge branch 'stb_dxt_static' of https://github.com/h-s-c/stb into h-s-c-stb_dxt_static
Fabian Giesen
2017-07-22 15:12:10 -07:00
897e6e8314
Merge branch 'h-s-c-stbi_no_stdio-fix' into dev
Fabian Giesen
2017-07-22 15:11:03 -07:00
b119e6d1d2
Merge branch 'stbi_no_stdio-fix' of https://github.com/h-s-c/stb into h-s-c-stbi_no_stdio-fix
Fabian Giesen
2017-07-22 15:10:44 -07:00
24f2522e00
Merge branch 'h-s-c-stb_dxt-freestanding' into dev
Fabian Giesen
2017-07-22 15:08:40 -07:00
e1f17c3c6c
Merge branch 'stb_dxt-freestanding' of https://github.com/h-s-c/stb into h-s-c-stb_dxt-freestanding
Fabian Giesen
2017-07-22 15:08:33 -07:00
aaa793350e
Merge branch 'cdwfs-stbtt_const_fontdata' into dev
Fabian Giesen
2017-07-22 15:06:09 -07:00
530c05ee61
Merge branch 'stbtt_const_fontdata' of https://github.com/cdwfs/stb into cdwfs-stbtt_const_fontdata
Fabian Giesen
2017-07-22 15:05:56 -07:00
3870b2fe3b
Merge branch 'DanielGibson-write-jpg' into dev
Fabian Giesen
2017-07-22 15:04:22 -07:00
526ed469e2
Merge branch 'write-jpg' of https://github.com/DanielGibson/stb into DanielGibson-write-jpg
Fabian Giesen
2017-07-22 15:03:35 -07:00
2da81a6433
stb_vorbis: MinGW has alloca defined in malloc.h.
Fabian Giesen
2017-07-22 14:39:52 -07:00
cc7f1d1e6d
stb_image: Documentation fixes.
Fabian Giesen
2017-07-21 22:35:01 -07:00
0674660451
stb_image: Relax raw_len validation for non-interlaced PNGs.
Fabian Giesen
2017-07-21 21:55:37 -07:00
481db7501c
stb_sprintf: Remove some gratuitous gotos
Fabian Giesen
2017-07-21 20:31:58 -07:00
7b8955bfaa
stb_sprintf: More whitespace cleanups post clang-format
Fabian Giesen
2017-07-21 20:23:50 -07:00
cccbc3f5a9
stb_sprintf: Clean up the mess with clang-format
Fabian Giesen
2017-07-21 20:17:34 -07:00
423298e071
fix SDF documentation and add example code
Sean Barrett
2017-07-12 09:27:04 -07:00
38479bc58c
stb_truetype version number
Sean Barrett
2017-07-12 07:25:20 -07:00
9a2e92e818
SDF documentation
Sean Barrett
2017-07-12 07:10:13 -07:00