Pierre Joye
0ebab9d495
- #36686 , do not be quiet with the extern GD
2006-03-10 18:07:27 +00:00
Pierre Joye
6f632a77c3
- MFH: add a weak/tolerant mode to the jpeg loader
2006-02-05 15:53:58 +00:00
Michael Wallner
fe52312f59
- include png.h prior php.h
2006-01-27 20:46:02 +00:00
Pierre Joye
1b546b9f77
- MFH: add filter option to imagepng
...
- add constants
PS: If someone can check why #include "png.h" fails, it will be cleaner
2006-01-27 13:36:30 +00:00
Antony Dovgal
56242031aa
MFH: improve open_basedir checks in GD
2006-01-17 23:47:08 +00:00
Pierre Joye
5ea4c827c9
- remove old return_long
2006-01-17 19:04:06 +00:00
Pierre Joye
afa77062d1
- return false on error
2006-01-17 15:44:12 +00:00
Pierre Joye
328c294569
- Returns FALSE on error, it is how it must work
2006-01-17 15:23:29 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
5c32e974aa
Not a fatal error.
2005-12-29 21:59:39 +00:00
Pierre Joye
d07b094461
- MFH: raise warnings instead of errors in colormatch
2005-12-25 20:33:05 +00:00
Pierre Joye
f5a7694305
- MFH: fix segfault/leak in imagecolormatch
...
- MFH: test for imagecolormatch
2005-12-25 19:39:53 +00:00
Pierre Joye
1024844a41
- MFH:
...
- fix leaks and wrong error when invalid/empty string are given to
imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-17 17:46:59 +00:00
Pierre Joye
ce90a27a48
- MFH, PNG compression support exposed
2005-12-09 18:07:57 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
4e874820e9
MFH: nuke php3 legacy
2005-12-06 01:21:28 +00:00
foobar
289402edc6
MFH: - Added missing safe-mode checks
...
# Added by replacing the existing open_basedir checks with a macro
# Also, the filename passed might be null, etc. so it's not very good
# idea to pass to php_error_docref() (catch by Ilia)
2005-11-01 17:05:09 +00:00
Antony Dovgal
5b502880b6
MFH: fix #34996 (ImageTrueColorToPalette() crashes when ncolors is zero)
2005-10-26 21:38:20 +00:00
Pierre Joye
af888a4807
- fix #34980 , divisor and offset never passed correctly (s/float/double/)
2005-10-25 23:00:19 +00:00
Ilia Alshanetsky
71bd44ac02
MFH: Added missing safe_mode checks.
2005-10-06 20:47:41 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Antony Dovgal
0a830b33fc
fix off-by-one in _php_image_output()
...
and prevent such errors in php_do_open_temporary_file()
2005-05-06 16:48:30 +00:00
Derick Rethans
bb8988109d
- Fixed bug #32735 (Compile error in GD extension).
2005-04-17 10:17:03 +00:00
Pierre Joye
3963ba649d
- export imageconvolution to userland, making people happy to do not
...
use the predefined ones :)
2005-04-16 12:12:24 +00:00
Andrey Hristov
d9f5f1ee08
fix memory corruption on 64bit in imagefttext(),
...
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
Pierre Joye
c8ce18c155
- allow to keep or ignore the transparent color in imagerotate (thx
...
Ken Coar to report this "bug")
- be sure to restore alphablending in imagefill
- use zend_parse_parameter in imagerotate
2005-03-27 23:43:52 +00:00
foobar
e82eb93cf2
- Added some sanity checks by changing to the parameter parsing API
2005-01-17 17:07:28 +00:00
foobar
0e9866bfd6
ws fix
2005-01-15 04:34:30 +00:00
foobar
330746480e
- Fixed bug #31060 (imageftbbox() does not use linespacing parameter)
2005-01-14 23:07:46 +00:00
foobar
68ca0ed6d8
- Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters)
2005-01-14 22:43:15 +00:00
foobar
a2177b2e8e
- Fixed bug #31396 (compile fails with gd 2.0.33 without freetype)
2005-01-04 06:51:45 +00:00
Ilia Alshanetsky
12c2113b3e
Fixed compiler warnings.
2004-12-29 21:40:34 +00:00
Ilia Alshanetsky
3f79dfbb04
Don't forget to unload t1lib.
2004-12-29 21:07:59 +00:00
Ilia Alshanetsky
8091bfb84c
MFB: Fixed bug #30658 (Ensure that temporary files created by GD are removed).
2004-11-02 16:41:41 +00:00
Ilia Alshanetsky
4d360ead0c
Fixed bug #29594 (Use PHP's own tmpfile() implementation).
2004-08-16 23:07:42 +00:00
Ilia Alshanetsky
69a5253284
Fixed bug #29349 (imagecreatefromstring() crashes with external GD library)
...
Original Patch By: adconrad at debian dot org
2004-07-27 00:27:06 +00:00
Edin Kadribasic
67c42a4a9b
Updated version number
2004-07-23 02:28:18 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Ilia Alshanetsky
9cccfa57b6
Fixed stream leak on error.
2004-05-20 23:37:59 +00:00
Ilia Alshanetsky
d3fda74acf
Fixed bug #28267 (php_image_filter_contrast calls gdImageBrightness).
2004-05-09 17:39:20 +00:00
Ilia Alshanetsky
6e9c4b3125
Upgrade bundled GD library to 2.0.23.
...
Fixed bug #28175 (build problem for people using FreeType 2.1.0-2.1.2).
2004-05-09 17:33:50 +00:00
Edin Kadribasic
31de856abb
Allow compilation with gdlib 1.8
2004-04-07 22:27:32 +00:00
Ilia Alshanetsky
3b27b0f18b
Fixed a bug that prevented building of gd extension against external GD
...
lib 1.X.
2004-04-04 17:59:08 +00:00
Ilia Alshanetsky
8b079070a3
Synchronized bundled GD library with GD 2.0.22.
2004-03-29 18:20:33 +00:00
Ilia Alshanetsky
52b962ca2f
wbmp conversion warning fix.
2004-02-22 18:03:09 +00:00
Ilia Alshanetsky
cc2dc6c85e
Set correct default threshold for image2wbmp().
2004-02-21 16:49:39 +00:00
Ilia Alshanetsky
cb5c9156c2
Fixed bug #27293 (two crashes inside image2wbmp()).
2004-02-17 21:30:00 +00:00
Ilia Alshanetsky
472a3a2446
Fixed bug #27056 (ints used instead of longs inside some GD functions).
2004-01-28 01:36:53 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
8ec2fd0c54
Last bit of CS fixes.
2003-12-28 21:08:46 +00:00