6645ea5915
Fixed stupid endianness bug.
...
Incorrect endianness hilariously doesn't manifest _if_ the original
image was upconverted from 8-bit to 16-bit.
2015-07-24 12:00:09 -07:00
608cbec1f5
Fixed overflow for high values.
...
0xffff would accidentally round to 0x10000.
2015-07-07 15:47:37 -07:00
a371b204f5
Added support for 16-bit PSD loading.
...
This extends the current PSD loader to add support for 16-bit images, by
quantizing them down to 8-bit upon load.
2015-07-07 15:15:38 -07:00
b53c08a148
Merge pull request #127 from mikesart/master
...
Fix relative path check for non-Windows platforms in stb_fullpath.
2015-06-10 12:05:29 -07:00
3787e1c143
Fix relative path check for non-Windows platforms in stb_fullpath.
2015-06-09 16:52:39 -07:00
aa89970d6b
stb_image.h: fix *comp value when loading PSDs
...
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
2015-05-28 22:11:45 -07:00
947bdcd027
update version numbers & docs
2015-04-19 04:19:55 -07:00
8f9c8b682d
Merge branch 'master' of https://github.com/nguillemot/stb
2015-04-19 04:17:21 -07:00
b4b196af1c
update version numbers
2015-04-19 04:16:11 -07:00
ac5e25ae01
bump stb_image to version 2.05, tweak docs
2015-04-19 04:15:33 -07:00
f224bc2cdb
stb_image: Progressive AC decoding - fix ZRL code.
...
The original AC decoding logic handled ZRL (runs of 16 zeros)
incorrectly.
The problem is that the original flow set r=16 and skipped the
final coeff write when s=0. This is not actually correct. The
problem is the intervening "refinement" bits.
With the original logic, even once we decrement r to 0, we keep
reading more refinement bits for subsequent coefficients until
we find the next currently-unsent AC in the current scan. That is,
it works as if it was trying to place 17 new AC values, and only
bails at the last minute from actually setting that 17th value.
This is wrong. Once we've found the 16th previously-unsent AC, we
need to stop reading refinement bits, otherwise we get out of sync
with the bit stream (which expects us to read a huffman code next).
The easiest fix is to just do what the JPEG standard implicitly
assumes anyway: treat ZRL as a run of 15 zeros followed by an
explicit magnitude-zero AC coeff. (That is, leave s=0 and actually
write s). So this is what this fix does.
2015-04-19 01:49:16 -07:00
1894bede3f
fix signed/unsignted compare warning
2015-04-18 21:23:34 -07:00
fda335609f
don't redefine __forceinline with mingw
...
mingw redefines __forceinline (though I don't think this applies to all
versions of mingw.) Therefore, don't redefine it if mingw has already
defined it.
2015-04-18 20:43:30 -07:00
e4be8fae2c
fix misplaced STBTT_DEF definition
2015-04-15 16:06:46 -07:00
294340b25d
update version numbers
2015-04-15 02:59:17 -07:00
e927c3a07a
rename to STBRP_SORT for STBRP_ASSERT consistency;
...
version number, credits
2015-04-15 02:58:00 -07:00
e536701585
Merge branch 'rectpack-allow-to-replace-qsort' of https://github.com/mmozeiko/stb into work2
2015-04-15 02:54:01 -07:00
9487a59c14
STB_TEXTEDIT_memmove
2015-04-15 02:52:25 -07:00
d5251d527b
Merge branch 'textedit-allow-to-replace-memmove' of https://github.com/mmozeiko/stb into work2
2015-04-15 02:49:58 -07:00
1acf56b8fb
tweak credits
2015-04-15 02:40:15 -07:00
b92b225f61
note that README is auto-generated so submitters don't need to change it
2015-04-15 02:35:55 -07:00
d710ada2f9
try to re-enable SSE2 support by default on mingw 64-bit
2015-04-15 02:31:12 -07:00
457679209b
update truetype version #
2015-04-15 02:22:19 -07:00
a51c2d4ab0
update version number etc
2015-04-15 02:21:59 -07:00
6231981a47
Merge pull request #106 from g-pechorin/patch-1
...
Update stb_truetype.h
2015-04-15 02:20:42 -07:00
9d4da3f7cc
update readme
2015-04-15 02:18:48 -07:00
85c836f33c
Merge branch 'work2'
2015-04-15 02:18:42 -07:00
6cb8c1b624
make compile as C
2015-04-15 02:17:44 -07:00
0d076c08b3
Merge branch 'working_stbte' of https://github.com/machinamentum/stb into work2
...
Conflicts:
README.md
stb_tilemap_editor.h
tweak revision history, backout README change since that's auto-generated
2015-04-15 02:12:13 -07:00
53011a3d96
fix declaration of stbte_create_map
2015-04-15 02:10:02 -07:00
63550ae9ed
Update stb_truetype.h
...
trivial typo
2015-04-14 13:03:05 +01:00
0d7f3bb60b
update version numbers for minor libraries that have been made C++-compatible
2015-04-14 03:53:57 -07:00
3f17b24d90
make sure all libs compile as C++
2015-04-14 03:53:26 -07:00
cbcbaff851
replace public-domain rationale with link to longer public domain rationale document
2015-04-14 03:38:40 -07:00
e105a19be9
add summary statistics
2015-04-14 03:33:54 -07:00
f982f5ae1e
restore lines-of-code to original size
2015-04-14 03:25:12 -07:00
dda1519da8
shrink font for LoC to layout table better
2015-04-14 03:19:54 -07:00
977cce8cc7
expand explanation of why single file
2015-04-14 03:13:45 -07:00
3db3e56696
consistent capitalization
2015-04-14 03:10:36 -07:00
c1ad6b09de
make table more readable by shrinking some columns horizontally
2015-04-14 03:09:01 -07:00
3c2090565d
fix reversed column headers
2015-04-14 03:04:32 -07:00
e5a2c3cf86
Merge branch 'master' of https://github.com/nothings/stb
2015-04-14 03:03:37 -07:00
ede1ebdaa9
add "lines of code" to README.md
2015-04-14 03:03:11 -07:00
8f4958e1f0
Update why_public_domain.md
2015-04-14 02:05:54 -07:00
0a3b6adb32
Update why_public_domain.md
2015-04-14 02:05:18 -07:00
8fece213ee
Update why_public_domain.md
2015-04-14 02:04:44 -07:00
d44e52d363
Update why_public_domain.md
2015-04-14 02:03:22 -07:00
31461003c7
Update why_public_domain.md
2015-04-14 02:00:59 -07:00
2f17f1a93b
Update why_public_domain.md
2015-04-14 01:58:25 -07:00
8074425128
standalone public-domain rationale document
2015-04-14 01:56:56 -07:00