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)