Romain Bailly
7e741ffc1e
Added the old size as argument to the STBI_REALLOC() and STBIW_REALLOC() macros
2016-01-14 10:34:30 +01:00
Sean Barrett
93b2b82996
get rid of unused return value from write callback
2015-09-14 05:57:42 -07:00
Sean Barrett
b4477803cb
fix public function names;
...
fix internal names to be namspaced properly;
2015-09-14 05:48:24 -07:00
Sean Barrett
78fe0bfc24
handle fopen() failing
2015-09-14 05:40:12 -07:00
Sean Barrett
ad63a8d316
Merge branch 'master' of https://github.com/ejulien/stb into working
...
Conflicts:
stb_image_write.h
2015-09-14 05:38:07 -07:00
Sean Barrett
5bcce36638
rle tweaks, credits
2015-09-13 06:58:45 -07:00
Sean Barrett
40ace6b0ef
Merge branch 'master' of https://github.com/fahickman/stb into working
2015-09-13 06:51:14 -07:00
Sean Barrett
a84daa614e
a few more stb_image_write fixes
2015-09-13 06:46:43 -07:00
Sean Barrett
2a1716cc8f
credits
2015-09-13 06:41:16 -07:00
Sean Barrett
23b21a7c1f
Merge branch 'master' of https://github.com/guillaumechereau/stb into working
2015-09-13 06:39:20 -07:00
Sean Barrett
c9859afcf9
reverse some of the public-domain-license changes that I didn't
...
actually want
2015-08-01 23:53:49 -07:00
Ryan Whitworth
45b27d8a9c
Added public domain license text
2015-08-01 14:54:05 -04:00
fahickman
80a0e90d53
TGA RLE flag and regression fix
...
Add requested flag for controlling TGA RLE compression and fix a
regression when writing monochrome TGAs.
2015-07-03 14:27:29 -07:00
fahickman
126ec22867
add missing consts
2015-06-04 14:04:02 -07:00
fahickman
e0e4bd4d86
write TGAs with RLE compression
2015-05-11 21:38:55 -07:00
Guillaume Chereau
d1d5f4ca96
add STB_IMAGE_WRITE_STATIC macro
...
This is the same thing than STB_IMAGE_STATIC of stb_image.h.
2015-04-20 23:18:42 +08:00
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.
2015-04-20 22:59:24 +08:00
Sean Barrett
00b1797a23
switch memcpy to memmove for simplicity;
...
rename all STBI_ config macros to STBIW_ to avoid conflict with stb_image.h
2015-04-13 11:55:24 -07:00
Sean Barrett
019236a624
Merge branch 'stb-image-writer-memory' of https://github.com/callidus/stb into work2
2015-04-13 11:48:26 -07:00
Tim Kelsey
8b1d835e16
Adding memory and assert defines to stb_image_write
2015-04-08 15:24:46 +01:00
Jørgen P. Tjernø
80176ae4a1
Remove unused variables in write_hdr_scanline.
...
Fixes #90 .
2015-03-24 11:22:20 -07:00
Sean Barrett
22fa9a467a
rewrite HDR rle logic
2015-01-18 10:43:42 -08:00
Sean Barrett
80d5c4be48
fix bug introduced when doing hdr cleanup
2015-01-17 09:16:48 -08:00
Sean Barrett
d91cbdf662
Merge branch 'test'
2015-01-17 07:47:52 -08:00
Sean Barrett
edd5e6700d
tweak baldurk's hdr implementation
2015-01-17 07:46:22 -08:00
Sean Barrett
6639ef6d5a
fix monochrome bmp support
2015-01-17 07:15:50 -08:00
Emmanuel Julien
529d8163b2
Add support for writing through callback functions in stb_image_write.h.
2015-01-13 17:43:14 +01:00
baldurk
fb8eabd6b8
Add .hdr file writing support
2014-09-09 08:33:25 +01:00
Sean Barrett
492e3f3463
update version numbers
2014-08-17 21:12:16 -07:00
Sean Barrett
7e079c670d
tweak TGA monochrome support
2014-08-16 13:52:47 -07:00
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.
2014-08-09 09:16:57 -04:00
Jean-Sbastien Guay
26a71f67fe
comment was wrong way around... code was right.
2014-08-09 01:08:43 -04:00
Jean-Sbastien Guay
b8b364c301
stbi_write_tga can now write 1 and 2 channel (grayscale and grayscale-alpha) images.
2014-08-09 00:34:49 -04:00
Sean Barrett
b96edc012c
Merge branch 'headerify'
...
Conflicts:
tests/stretch_test.dsp
2014-06-03 08:51:40 -07:00
Sean Barrett
ca093eda56
add strict-aliasing warnings; update readme to include stretchy_buffer
2014-06-01 08:04:07 -07:00
Sean Barrett
7add5044e0
bump version number
2014-05-31 06:27:09 -07:00
Sean Barrett
9f251b6da1
rename stb_image_write private functions to use stbiw__ not stbi__ to avoid conflict with stb_image.h
2014-05-31 06:25:31 -07:00
Sean Barrett
fcfcb9bb3f
generate README.md in part by parsing libraries so that version numbers are in sync
2014-05-30 14:15:51 -07:00
Sean Barrett
70df4966f0
various warning fixes, STBI_SIMD compile error, incorrect file-pointer state for one API
2014-05-27 12:14:26 -07:00
Sean Barrett
e2caccb811
initial checkin
2014-05-25 10:18:03 -07:00