Sean Barrett
f1d2002a1d
update contributor list
2016-01-16 10:16:23 -08:00
Sean Barrett
58484eb73d
Merge branch 'implicit_cast_fix' of https://github.com/filipwasil/stb into working
2016-01-16 10:11:54 -08:00
Sean Barrett
9f081b62a4
Merge branch 'stbiw_documentation_typo' of https://github.com/karjonas/stb into working
2016-01-16 10:11:00 -08:00
Sean Barrett
099cd5a279
Merge branch 'msvc_runtime_cast_fixes' of https://github.com/karjonas/stb into working
2016-01-16 10:10:07 -08:00
Sean Barrett
8521c38956
tweak previous crc commit
2016-01-16 10:09:35 -08:00
Sean Barrett
89aaa77b5f
Merge branch 'image_write_parallel' of https://github.com/karjonas/stb into working
2016-01-16 10:04:45 -08:00
Sean Barrett
20aca08f86
Merge branch 'master' of https://github.com/zerhacken/stb into working
2016-01-16 10:02:56 -08:00
Sean Barrett
b9216ddb36
Merge branch 'master' of https://github.com/serge-rgb/stb into working
...
Conflicts:
stb_image_write.h
2016-01-16 10:02:30 -08:00
Sean Barrett
ac748cba9b
update contributor list, version history, version number
2016-01-16 09:57:04 -08:00
Sean Barrett
82ca643ef3
change previous explicitly-sized realloc support to be new API and unbreak old API
2016-01-16 09:47:22 -08:00
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
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>
2015-10-29 16:09:21 +01:00
Jonas Karlsson
b95858a2f7
Add bitmask to unsigned char casts to fix MSVC runtime checks
2015-10-20 23:22:27 +02:00
Jonas Karlsson
22dd50f256
Fix documentation error
2015-10-20 22:03:50 +02:00
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.
2015-10-17 17:33:00 +02:00
Rasmus Christian Pedersen
007c850b48
nobug: removed unused variable 'k'
2015-09-25 19:46:27 +02:00
Sergio Gonzalez
b372a1f86c
Avoid macro redefinition in Win32
2015-09-21 12:18:18 -05: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