Sean Barrett
6e4154737c
update version numbers, documentation, and contributors
ago%!(EXTRA string=9 years)
Thatcher Ulrich
291ad22e84
Replace large stack allocations with dynamic allocations.
ago%!(EXTRA string=9 years)
Craig Donner
ee6978cb68
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
ago%!(EXTRA string=9 years)
Craig Donner
49b65c0873
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
ago%!(EXTRA string=9 years)
Sean Barrett
f1d2002a1d
update contributor list
ago%!(EXTRA string=9 years)
Sean Barrett
8521c38956
tweak previous crc commit
ago%!(EXTRA string=9 years)
Sean Barrett
ac748cba9b
update contributor list, version history, version number
ago%!(EXTRA string=9 years)
Sean Barrett
82ca643ef3
change previous explicitly-sized realloc support to be new API and unbreak old API
ago%!(EXTRA string=9 years)
Romain Bailly
7e741ffc1e
Added the old size as argument to the STBI_REALLOC() and STBIW_REALLOC() macros
ago%!(EXTRA string=9 years)
Filip Wasil
8cea0090b2
Removie implicit cast to float
...
When compiling with more restrictive compiler options
such casting from double to float will cause a warning.
Ex. GCC -Wdouble-promotion
Signed-off-by: Filip Wasil <filip.wasil@gmail.com>
ago%!(EXTRA string=10 years)
Jonas Karlsson
b95858a2f7
Add bitmask to unsigned char casts to fix MSVC runtime checks
ago%!(EXTRA string=10 years)
Jonas Karlsson
22dd50f256
Fix documentation error
ago%!(EXTRA string=10 years)
Jonas Karlsson
f1d401845f
Fix race condition in static crc_table
...
If calling stbi_write_png concurrently the static array crc_table would be shared between threads causing data-races.
ago%!(EXTRA string=10 years)
Rasmus Christian Pedersen
007c850b48
nobug: removed unused variable 'k'
ago%!(EXTRA string=10 years)
Sergio Gonzalez
b372a1f86c
Avoid macro redefinition in Win32
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
78fe0bfc24
handle fopen() failing
ago%!(EXTRA string=10 years)
Sean Barrett
5bcce36638
rle tweaks, credits
ago%!(EXTRA string=10 years)
Sean Barrett
a84daa614e
a few more stb_image_write fixes
ago%!(EXTRA string=10 years)
Sean Barrett
2a1716cc8f
credits
ago%!(EXTRA string=10 years)
Sean Barrett
c9859afcf9
reverse some of the public-domain-license changes that I didn't
...
actually want
ago%!(EXTRA string=10 years)
Ryan Whitworth
45b27d8a9c
Added public domain license text
ago%!(EXTRA string=10 years)
fahickman
80a0e90d53
TGA RLE flag and regression fix
...
Add requested flag for controlling TGA RLE compression and fix a
regression when writing monochrome TGAs.
ago%!(EXTRA string=10 years)
fahickman
126ec22867
add missing consts
ago%!(EXTRA string=10 years)
fahickman
e0e4bd4d86
write TGAs with RLE compression
ago%!(EXTRA string=10 years)
Guillaume Chereau
d1d5f4ca96
add STB_IMAGE_WRITE_STATIC macro
...
This is the same thing than STB_IMAGE_STATIC of stb_image.h.
ago%!(EXTRA string=10 years)
Guillaume Chereau
347e7838be
fix compilation of stb_image_write.h with gcc -O3
...
When compiling with -O3, gcc would complain that 'linear' might not be
initialized if comp is superior to 4.
In fact passing a value > 4 is an error anyway, but gcc does not know
that. I changed the switch case to support comp > 4. I don't think it
should affect the performances.
ago%!(EXTRA string=10 years)
Sean Barrett
00b1797a23
switch memcpy to memmove for simplicity;
...
rename all STBI_ config macros to STBIW_ to avoid conflict with stb_image.h
ago%!(EXTRA string=10 years)
Tim Kelsey
8b1d835e16
Adding memory and assert defines to stb_image_write
ago%!(EXTRA string=10 years)
Jørgen P. Tjernø
80176ae4a1
Remove unused variables in write_hdr_scanline.
...
Fixes #90 .
ago%!(EXTRA string=10 years)
Sean Barrett
22fa9a467a
rewrite HDR rle logic
ago%!(EXTRA string=10 years)
Sean Barrett
80d5c4be48
fix bug introduced when doing hdr cleanup
ago%!(EXTRA string=10 years)
Sean Barrett
edd5e6700d
tweak baldurk's hdr implementation
ago%!(EXTRA string=10 years)
Sean Barrett
6639ef6d5a
fix monochrome bmp support
ago%!(EXTRA string=10 years)
Emmanuel Julien
529d8163b2
Add support for writing through callback functions in stb_image_write.h.
ago%!(EXTRA string=10 years)
baldurk
fb8eabd6b8
Add .hdr file writing support
ago%!(EXTRA string=11 years)
Sean Barrett
492e3f3463
update version numbers
ago%!(EXTRA string=11 years)
Sean Barrett
7e079c670d
tweak TGA monochrome support
ago%!(EXTRA string=11 years)
Jean-Sbastien Guay
ebc2d23d47
realized the 2 colorbytes case is impossible.
...
also updated the comment at the top of the file to reflect stbi_write_tga's new capabilities.
ago%!(EXTRA string=11 years)
Jean-Sbastien Guay
26a71f67fe
comment was wrong way around... code was right.
ago%!(EXTRA string=11 years)
Jean-Sbastien Guay
b8b364c301
stbi_write_tga can now write 1 and 2 channel (grayscale and grayscale-alpha) images.
ago%!(EXTRA string=11 years)
Sean Barrett
ca093eda56
add strict-aliasing warnings; update readme to include stretchy_buffer
ago%!(EXTRA string=11 years)
Sean Barrett
7add5044e0
bump version number
ago%!(EXTRA string=11 years)
Sean Barrett
9f251b6da1
rename stb_image_write private functions to use stbiw__ not stbi__ to avoid conflict with stb_image.h
ago%!(EXTRA string=11 years)
Sean Barrett
fcfcb9bb3f
generate README.md in part by parsing libraries so that version numbers are in sync
ago%!(EXTRA string=11 years)
Sean Barrett
70df4966f0
various warning fixes, STBI_SIMD compile error, incorrect file-pointer state for one API
ago%!(EXTRA string=11 years)
Sean Barrett
e2caccb811
initial checkin
ago%!(EXTRA string=11 years)