Sean Barrett
846d15c102
image_test: tweak testing to open image in more modes
ago%!(EXTRA string=6 years)
Sean Barrett
a0b521fcf2
no warnings when compiling /W3
...
compiling all test cases and compilers in test.sbm
Compilers:
32-bit:
VS2015
VS2013
VS2008
VC6 (1998)
clang-cl 9.0.1
64-bit
VS2015
clang-cl 9.0.1
ago%!(EXTRA string=6 years)
Sean Barrett
e704ed0efb
update tests and project files for stb_ds
ago%!(EXTRA string=6 years)
Sean Barrett
f82dbd638c
windows unicode: don't malloc buffers, add explicit STBI_WINDOWS_UTF8 #define
ago%!(EXTRA string=6 years)
Sean Barrett
a28a6b126b
tests: 64-bit fixes, fix typo in image tests
ago%!(EXTRA string=6 years)
Sean Barrett
297ff62859
change bmp info to use common header parser
ago%!(EXTRA string=10 years)
Sean Barrett
876aea3dbe
refactor bmp header parser for sharing with stbi_info
ago%!(EXTRA string=10 years)
Sean Barrett
93b2b82996
get rid of unused return value from write callback
ago%!(EXTRA string=10 years)
Sean Barrett
b4477803cb
fix public function names;
...
fix internal names to be namspaced properly;
ago%!(EXTRA string=10 years)
Sean Barrett
90dc93a1cc
fix bug where we couldn't rewind a file that reached EOF, which can happen with < 92-byte PIC,PNM,HDR,TGA
ago%!(EXTRA string=10 years)
Sean Barrett
22fa9a467a
rewrite HDR rle logic
ago%!(EXTRA string=10 years)
Sean Barrett
5b53d20c68
Put progressive JPEG AC decode logic back the way I wrote it originally (I changed it to match jpgd when I was trying to figure out why it didn't work);
...
add STBI__ prefixes to internal SCAN_ enum;
strip unused function arguments for progressive funcs;
tweak release notes;
forget to git commit frequently so these would all be in their own commits;
ago%!(EXTRA string=11 years)
Sean Barrett
53008c0922
default tests
ago%!(EXTRA string=11 years)
Sean Barrett
33e24eafa0
in progress progressive stuff
ago%!(EXTRA string=11 years)
Sean Barrett
bd6b78f268
finalize scalar YCbCr conversion back-ported from SSE version;
...
add missing STBIDEFs to a few functions;
update documentation with full 1.49 info even though most isn't implemented yet
ago%!(EXTRA string=11 years)
Sean Barrett
f259bf27e9
VC6:
...
support using inline asm for cpuid
YCbCr:
switch SSE code to constants that match old C;
create C version that is same as SSE;
tiny optimization(?) of SSE
ago%!(EXTRA string=11 years)
Sean Barrett
8ac015c03f
fix 1/2/4-bit png to filter bytes before decoding to pixels;
...
rename pngsuite/part1 to pngsuite/primary;
check in pngsuite
ago%!(EXTRA string=11 years)
Sean Barrett
01d2c9d957
test program now verifies pngsuite tests against refererence versions
ago%!(EXTRA string=11 years)
Sean Barrett
8679ce08b7
fix incorrect img_n variable for interlaced files, caused files to be totally incorrect if forcing channel count
ago%!(EXTRA string=11 years)
Sean Barrett
f5dfba0b8b
Update stb_image test code to test loading with all channel counts (including 0),
...
to avoid missing bugs like the recent TGA bug in the future. Doesn't check the
*results*, but tests that it doesn't crash or fail.
ago%!(EXTRA string=11 years)
Sean Barrett
334cec8d8c
Fix handling of iphone-procesed image to not accidentally appear corrupt (instead they just load wrong).
...
Add a proper testing path to image test
ago%!(EXTRA string=11 years)
Sean Barrett
927b455d85
start converting stb_image.c to a .h file
ago%!(EXTRA string=11 years)
Sean Barrett
9e566c8b31
trailing newline
ago%!(EXTRA string=11 years)
Sean Barrett
1d2770394a
rest of image-test case
ago%!(EXTRA string=11 years)