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
Ilia Alshanetsky
8d6cfb797b
Synchronized bundled GD library with GD 2.0.17
...
. GD is now thread-safe thanks to wrappers around freetype library
. Significant optimization to png writing code.
. Miscellaneous fixes.
Fixed memory leak inside php_imagettftext_common()
Make ext/gd compile with GD 2.0.17+ (gdFreeFontCache() is not avaliable)
2003-12-25 22:12:12 +00:00
Rasmus Lerdorf
749cf47ef7
Fix remaining gd build issue
2003-12-18 08:17:45 +00:00
Ilia Alshanetsky
44e180b286
Fixed bug #26309 (Fixed argument parsing for imageftbbox()).
2003-11-19 15:49:55 +00:00
Moriyoshi Koizumi
676755da54
FREETYPE_PATCH is not always defined.
...
# will likely fix Sebastian's build :)
2003-09-15 07:27:18 +00:00
Moriyoshi Koizumi
36e89f6deb
Add an phpinfo entry showing which version of freetype is linked to gd.
2003-09-09 19:08:30 +00:00
Andrey Hristov
b2eb454171
format string fixes
2003-08-28 21:00:24 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
aeadf9bd4a
Fixed a crash inside php_imagettftext_common();
2003-06-19 15:47:46 +00:00
Marcus Boerger
8fd5e11ff4
Add ImageXBM
2003-06-15 20:00:08 +00:00
Andrey Hristov
eb33adf139
proto fixes
2003-06-15 15:29:46 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
f2a9f31160
GD 2.0.15 sync
2003-06-04 00:20:19 +00:00
Ilia Alshanetsky
e1b8cad26f
Syncronize bunbled GD with gd 2.0.14
2003-06-03 23:54:56 +00:00
Ilia Alshanetsky
b9215a1538
Fixed bug #23527 (PostScript Type 1 font do not render properly)
2003-05-15 02:25:50 +00:00
Moriyoshi Koizumi
6be2406b63
Made phpinfo() / gd_info() indicate availability of JIS feature
2003-04-19 07:44:16 +00:00
Marcus Boerger
448d361290
Collate version handling and bump up version (noticed by Peter Neuman)
2003-04-05 20:43:53 +00:00
Ilia Alshanetsky
5ec34bcd82
Might as well disallow 0x0 images.
...
Thanks Marcus.
2003-04-04 01:33:57 +00:00
Ilia Alshanetsky
925bc0fd7d
Fix segfault in imagecopyresized().
2003-04-04 00:16:47 +00:00
foobar
74868f3a45
- Better errors for T1lib.
...
- Sanity check into imagepsextendfont().
# Patches by John Coggeshall <john@coggeshall.org>
2003-04-04 00:09:23 +00:00
foobar
2063094acc
Use php_error_docref.
2003-04-03 23:10:08 +00:00
Sascha Schumann
c2e2423838
Fix segfaults in imagecreate/imagecreatetruecolor
2003-04-03 19:18:57 +00:00
foobar
1d3542a6bc
cleanup
2003-03-31 08:49:19 +00:00
Sebastian Bergmann
a9b479612f
Eliminate TSRMLS_FETCH() call in php_find_gd_font().
2003-03-26 06:30:45 +00:00
foobar
c8791084db
CS fix
2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac
WS & CS fixes
2003-03-20 01:12:57 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
Hartmut Holzgraefe
3343327ea1
fixing my proto fix :|
2003-03-17 13:50:27 +00:00
Hartmut Holzgraefe
212abb4996
proto fix
2003-03-17 13:00:13 +00:00
foobar
bf90cdeff9
Added the type constants for imagegd2()
2003-03-12 04:29:51 +00:00
foobar
2fee56b2a2
Fix bug #22646
2003-03-12 04:15:28 +00:00
Ilia Alshanetsky
d31fa3da61
Better identification of bundled GD library.
2003-03-05 16:08:01 +00:00
Pierre Joye
972c04e50b
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
...
2 Pierre-Alain Joye)
2003-02-26 23:22:09 +00:00
Marcus Boerger
129bd74b45
Show if XPM support is available & Set availability bit only when available.
2003-02-01 23:23:59 +00:00
Sara Golemon
3ad9839f2f
Feature Request #21784 Added: imagecolorallocatealpha (pollita@php.net,jasper@pointless.net)
2003-01-26 01:15:02 +00:00
Ilia Alshanetsky
383171b11b
Fixed bug #21533 (a rare condition where error can remain undefined and
...
result in undefined behavior when it is used without being initialized).
2003-01-24 19:23:53 +00:00
Ilia Alshanetsky
95bfbfe1c1
Fixed compile warning.
2003-01-24 16:23:11 +00:00
Ilia Alshanetsky
d24148f3d0
Fixed a crash when invalid color is passed to imagepstext().
2003-01-22 19:53:29 +00:00
Ilia Alshanetsky
833473d1de
Removed pointless checks of array_init() return value.
2003-01-17 21:37:56 +00:00
Ilia Alshanetsky
169eb85e0a
Syncronize bundled GD library with latest GD (2.0.11).
2003-01-17 18:34:07 +00:00
Ilia Alshanetsky
17e51c5946
Fixed bug #21518 .
...
Fixed memory in leak ImageCreateFromString().
Fixed a bug that prevented proper identification of WBMP images and thus
prevented ImageCreateFromString() from working on those images.
2003-01-08 18:11:40 +00:00
Pierre Joye
a9999190c6
Fix line drawed twice (L. Atkinson)
2003-01-07 22:34:00 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Ilia Alshanetsky
7a282ddcfd
Fixed bug #20974 (added missing sanity check).
2002-12-12 21:17:36 +00:00
Ilia Alshanetsky
67aca57c3b
Fixed build with non-bundled GD. Hidden the anti-alias functions when
...
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
4d522e3686
Add imageantialias(im, flag)
...
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Ilia Alshanetsky
2b063828e0
Fixed build with GD 1.8.4
2002-12-10 19:45:58 +00:00
Ilia Alshanetsky
99f2b9674f
Fixed build with GD 1.8.4
2002-12-10 17:57:41 +00:00
Pierre Joye
dda7acaad5
Add imageistruecolor
2002-12-06 02:16:06 +00:00
Rasmus Lerdorf
4c749f08c0
Fix build
2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
5779f9bb0f
Made imagecreatefromxpm() work once again.
2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
143e46ae28
WS fixes.
2002-12-04 16:29:48 +00:00
Pierre Joye
00881ea504
Fix imagegd stdoutput
...
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042
Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
...
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Marcus Boerger
0a7487e32d
Conversion fixes
2002-11-28 22:48:20 +00:00
Moriyoshi Koizumi
9db2512418
Fixed the macro so this can be compiled with ft1
2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
4124672edf
Fixed leaks. Other leaks are originated in libgd.
2002-11-23 22:11:59 +00:00
foobar
5e429447b1
ws fix
2002-11-23 19:20:44 +00:00
Moriyoshi Koizumi
715ad2730c
Fixed tab positions.
2002-11-23 11:20:51 +00:00
Rasmus Lerdorf
761bcbd751
Applied imagedeallocate() fix
2002-11-22 23:25:14 +00:00
Marcus Boerger
f986cb84f3
Fix TSRM build
2002-11-14 15:09:53 +00:00
Ilia Alshanetsky
901980b3ab
Added imagefilter() function by Pierre-Alain Joye (paj@pearfr.org). This
...
function allows negate, grayscale, brightness, contrast, colorize, selective blur,
Gaussian blur, edge detect, smooth, sharpen and emboss filters to be applied
on an image.
2002-11-13 20:02:58 +00:00
Marcus Boerger
597acbc3d3
new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is
...
# easy to look into phpinfo() to see which index names are possible.
2002-11-12 11:49:11 +00:00
Marcus Boerger
536c34ebc9
fix warnings
2002-10-30 17:54:36 +00:00
Ilia Alshanetsky
7150658615
This patch allows compilation of gd against non-bundled gd library older
...
then 2.0.4.
2002-10-30 01:05:16 +00:00
Rasmus Lerdorf
a24534a1ed
Update bundled gd library with relevant changes from gd-2.0.4
...
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
2002-10-29 23:08:01 +00:00
Ilia Alshanetsky
e34ea3adb4
Added a patch by Pierre-Alain Joye <paj@pearfr.org>, which implements the
...
imagerotate() that allows rotation of images in gd.
2002-10-29 01:15:44 +00:00
Derick Rethans
5a6243a4b5
- Change constant name
2002-10-11 13:09:48 +00:00
Derick Rethans
7713b4097d
- Add indetified for bundled GD
2002-10-11 09:49:38 +00:00
Ilia Alshanetsky
f119fd6498
Fixed bug #19487
2002-09-20 01:25:55 +00:00
foobar
4a39f70a9a
Added missing convert_to_* funcs. (should fix some crashes)
2002-09-20 00:47:00 +00:00
foobar
fb9bd8d20a
ws fix
2002-09-12 21:42:33 +00:00
foobar
ba057e9bf3
Fix build with GD < 2.0.x
2002-09-05 00:22:40 +00:00
Marcus Boerger
1ab90386cf
Some requirements engineering: today necessary defines exists where
...
needed.
2002-08-27 20:10:46 +00:00
Marcus Boerger
d1b56bf810
php_error_docref
...
BUT didn't we decide to disable those functions when not supported
instead of displaying an error?
2002-08-27 19:40:55 +00:00
Rasmus Lerdorf
53e6c07907
stream closing bug here too
2002-08-23 17:53:03 +00:00
Wez Furlong
533c16e21e
Fix segfault reported by Rasmus.
2002-08-23 17:45:46 +00:00
Marcus Boerger
17743955d0
more php_error_docref
2002-08-22 19:14:27 +00:00
Marcus Boerger
727067f59c
php_error_docref...
2002-08-22 18:38:44 +00:00
Marcus Boerger
9b9052f27a
fix zts build
2002-08-22 14:02:08 +00:00
Tim Toohey
266193159b
(PHP imagecolormatch) makes a palette image match the colours in the
...
true-color version.
(PHP imagelayereffect) extended alpha-channel mixing effects for the
bundled GD library
@Added ImageColorMatch() and ImageLayerEffect() functions
@which work with the bundled GD library (ttoohey)
2002-08-22 07:28:26 +00:00
Marcus Boerger
0b6074a343
forgot to move imeageellipse out of #ifdef HAVE_LIBGD20
2002-07-28 10:00:37 +00:00
Marcus Boerger
b0b2226352
reapply patch for imageellipse beeing wrappet to imagearc if missing
...
# derick: the rest of the patch wasn't removed
2002-07-26 13:24:45 +00:00
Derick Rethans
06ad4767e3
- Fix GD build with GD 1.8.3
2002-06-29 15:54:02 +00:00
foobar
29a2967936
t1lib.h needs to be included here now.
2002-06-28 12:46:07 +00:00
foobar
e2eaa0261a
Moved all gd.h related stuff to gd.c
2002-06-28 12:35:30 +00:00
foobar
32e08c7e52
Fix bug: #14735
2002-06-28 09:53:25 +00:00
foobar
ab0d5fecd3
Fix bug: #17528 , do not crash with empty string.
2002-06-28 09:23:50 +00:00
Derick Rethans
b24c24969c
Unify error messages
2002-06-28 06:43:17 +00:00