Pierre Joye
9ad850637e
Remove the (c), in the future, can we add PHP Licence terms for the new
...
functions ?
2003-01-21 02:10:19 +00:00
Pierre Joye
81c68ab8d5
Add credits to my functions (thx for the advice Wez&Ilia :)
2003-01-21 01:49:34 +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
dee2d7fed7
Fixed ImageRotate when rotation angle is 90 degrees, patch by
...
leon@leonatkinson.com .
2003-01-10 02:00:39 +00:00
Pierre Joye
baea3414a3
Fix a crash while using an invalid color with imagesetstyle, see the sample
...
script in the manual to reproduce it :)
2002-12-18 21:13:21 +00:00
Marcus Boerger
05436b1378
MFB: gd uses float instead of double
2002-12-15 18:16:11 +00:00
Pierre Joye
137beb12ca
Do not allow AA if not trueColor (imageantialias does nothing)
2002-12-14 19:23:29 +00:00
Pierre Joye
5acfdf3ca1
Fix brightness filter (argument ingnored)
2002-12-11 22:23:51 +00:00
Ilia Alshanetsky
a88a99fb9d
White space fixes.
2002-12-11 21:55:45 +00:00
Ilia Alshanetsky
f4b5f0904b
Syncronize bundled gd sources with that of gd 2.0.9, affected functions
...
are: gdImageBrushApply() & gdImageCopyResized().
2002-12-11 21:52:29 +00:00
Pierre Joye
7ec74f64f9
Add gdImageAAline (antialiased line)
...
Add AA support for gdImagePolygon
2002-12-11 20:46:52 +00:00
Ilia Alshanetsky
8f6d5dc775
Fixed a color mixup in gdImageCopyResampled() when dealing with true-color
...
images & brought the code up to PHP coding standards.
2002-12-08 21:07:13 +00:00
Marcus Boerger
fa38a6af6f
No more (f)printf for errors and warnings instead use php_error_docref.
2002-12-01 11:43:54 +00:00
Marcus Boerger
65eb0d8125
Conversion fixes
2002-11-29 01:44:19 +00:00
Marcus Boerger
0a7487e32d
Conversion fixes
2002-11-28 22:48:20 +00:00
Ilia Alshanetsky
9251486567
Synchronized bundled gd library with the latest stable GD, 2.0.6
...
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Derick Rethans
1a5037de1a
- Fix compile problems for mips pro
2002-11-17 14:25:50 +00:00
Marcus Boerger
a391c4b12b
Fix warnings (Marcus & Pierre-Alain Joye)
2002-11-14 15:08:39 +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
b06085dd46
fix warnings
2002-11-12 13:12:58 +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
8c6316ef7b
Corrected un-initialized variable usage.
2002-10-29 20:19:38 +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
Rasmus Lerdorf
b832af75f0
WS fix - although the entire libgd directory is horrendously formatted.
...
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f
Oops
2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
26b69a7d93
Fix for bug #19700 - code by Wez
2002-10-06 06:47:53 +00:00
Tim Toohey
6a952f0856
fix gdImageCopyResampled() for non-constant alpha layer
2002-09-30 07:23:34 +00:00
Ilia Alshanetsky
fba852e16b
Fixed bug #19366
2002-09-29 14:45:57 +00:00
Marcus Boerger
902c17e05a
fiw warnings
2002-08-22 16:21:32 +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
ac9991a245
-wrong fabsf define for MSVC.6
...
-MIN and MAX only if undefined
#should be last commit to fix all warnings (-:
2002-08-12 19:09:26 +00:00
Marcus Boerger
bdaae34cb9
ups wrong include committed
...
#if anybody objects we would need config stuuf in ligd otherwise but
#this way we can use other php functions...for example we could use
#php_error_docref....
2002-08-12 15:29:05 +00:00
Marcus Boerger
2df2e24a54
check for fabsf and floorf in config.m4
...
msvc.6 needs a define, msvc.net needs special treatment
2002-08-12 13:59:01 +00:00
Marcus Boerger
9d03c0bdf0
more conversion fixes
2002-08-12 09:58:51 +00:00
Marcus Boerger
0dcbf7e375
-quick hack to allow compilation under windows again
...
-correct solution to follow tomorrow
2002-08-11 23:56:11 +00:00
Marcus Boerger
b9c0c918cc
try even more to fix those warnings.....
...
#repeat: this code must come from hell
2002-08-11 19:13:07 +00:00
Marcus Boerger
1723861618
try to fix those warnings.....
...
#this code must come from hell: will we change code to our coding-scheme?
2002-08-11 13:50:27 +00:00
Markus Fischer
565f3797dc
- Revert Ws thingy.
...
# Lazy bastard :-)
2002-06-06 12:58:25 +00:00
foobar
9f238de87b
ws and indent fixes
2002-06-05 23:58:51 +00:00
foobar
12f6175f26
- Fixes a segfault reported in #17584
2002-06-05 23:24:23 +00:00
Rasmus Lerdorf
01835e0469
fix copyresampled bug in bundled gd lib
2002-05-13 20:20:16 +00:00
Wez Furlong
6d1dc8141c
Apply that patch I wrote ages ago that fixes some problems with true-color
...
vs palette based handling.
Also implements the gdImageStringFTEx function.
2002-04-21 13:48:22 +00:00
Rasmus Lerdorf
7a8cade379
Initial commit of the built-in libgd based on GD-2.0.1
...
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs. It also will not build currently because
of this. The PHP gd checks need to be incorporated along with a bit of
other config magic. It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00