Pierre Joye
df56d24304
- #39508 , do not use the 4 neighbors implementation for small images (w<4)
...
test will follow
2006-11-14 13:45:24 +00:00
Pierre Joye
29242cfab9
- MFH: optimize horizontal and vertical lines
2006-11-04 14:27:07 +00:00
Pierre Joye
d05ef39c74
- MFH #39366 , imagerotate does not use alpha with angles>45
2006-11-04 03:15:31 +00:00
Pierre Joye
541f9940ac
- #39273 , imagecopyresized and alpha channel
2006-11-04 02:21:06 +00:00
Pierre Joye
cee0a7df24
- imagefill(), infinite loop with wrong color index
2006-09-28 08:48:02 +00:00
Pierre Joye
261beb0326
- #38179 , imagecopy, palette to truecolor must use alpha channel too
2006-07-23 21:41:12 +00:00
Pierre Joye
655743c4e7
- #33125 , imagecopymergegray produces mosaic rainbow effect
...
at some point the alpha emulation formula has been broken
restored.
2005-09-30 20:48:05 +00:00
Pierre Joye
9859780570
- fix #33794 imagerotate rotates only CCW
...
introduced by transparent color patch
2005-07-23 16:41:38 +00:00
Pierre Joye
90ee88e090
- MFB: #32891 , init old y positions to non possible values. -1 being used
...
if the center start a (x,0)
2005-05-01 06:01:56 +00:00
Rasmus Lerdorf
4162bd8b21
I think this is a cleaner emboss filter. Less fringing.
2005-04-16 09:20:59 +00:00
Rasmus Lerdorf
d0f4028194
The emboss and edge detection matrices are swapped
2005-04-16 00:04:52 +00:00
Pierre Joye
d8824f2d5c
- remove "debug" code
2005-03-28 08:17:17 +00:00
Pierre Joye
6d46acfc70
- MFB, imagerectangle draws 2x each corners (alpha channel uglyness)
2005-03-28 08:14:30 +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
Pierre Joye
32ff83e4da
- Really fix imagefill, part of my previous (old) fix was not applied
...
(blame me), bak the alphablending and restore it on exit
2004-11-17 20:19:35 +00:00
Pierre Joye
d9f08cb7ce
- MFB: fix #30739 , imagefill did not set back alphablending mode
2004-11-17 17:21:22 +00:00
Pierre Joye
5b71225f1b
- Fix #28506 , negative angle returns "random arcs"
...
while (angle < 0) angle += 2*M_PI is used now
2004-05-24 19:52:28 +00:00
Ilia Alshanetsky
f11d064b6a
Fixed bug #28304 (Missing bounds check inside imagefilter()).
2004-05-09 18:25:33 +00:00
Ilia Alshanetsky
c527cc8708
Fixed bug #28184 (C++ comments in GD library sources).
2004-04-27 14:59:07 +00:00
Derick Rethans
c452e275e7
- MFB: Fixed bug #28147 (Crash with drawing anti-alised lines)
2004-04-25 19:45:02 +00:00
Ilia Alshanetsky
8b079070a3
Synchronized bundled GD library with GD 2.0.22.
2004-03-29 18:20:33 +00:00
Ilia Alshanetsky
fc419f10ef
Revert patch to imagefillborder.
2004-03-22 17:26:03 +00:00
Ilia Alshanetsky
ac7283a602
Fixed a possible crash inside libgd's gdImageFillToBorder() due to a stack
...
overflow.
2004-03-21 18:02:19 +00:00
Pierre Joye
f223262bcd
- Fix crash when an invalid color index is used with imagecolortransparent
2004-03-17 17:07:31 +00:00
Pierre Joye
197b48322e
- restore too the alphablending if we do not reach the end of the function
...
Notice: This function still crashes (stack overflow), to reproduce it
see bug27582_2.phpt
2004-03-13 23:21:25 +00:00
Pierre Joye
9fc9639c83
- fix #27582 ( http://bugs.php.net/bug.php?id=27582 )
...
The problem was that the colors were changed endlessly, blending over
and over. An endless loop and recursive calls filled the stack=>segfault
2004-03-13 18:28:19 +00:00
Derick Rethans
596efe5197
- Fixed bug in gdImageFilledRectangle in the bundled GD library, that required
...
x1 < x2 and y1 < y2 for coordinates.
2004-03-02 21:56:30 +00:00
Tim Toohey
b851f37123
(gdImageSetPixel) Tidied 'normal' blending effect
...
# libgd-2.0.12 fixed the problem with alpha-blending on semi-transparent backgrounds so
# gdFullAlphaBlend() and friends are no longer needed
2004-01-17 09:19:14 +00:00
Ilia Alshanetsky
36db28c8db
CS fixes.
2003-12-28 20:11:08 +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
Ilia Alshanetsky
b520c9d42c
Fixed bug #26097 (gdImageColorClosestAlpha() returns incorrect results).
2003-11-04 01:55:50 +00:00
Moriyoshi Koizumi
303fc609a6
Fix build in VC++7.
...
# The line didn't reflect the above comment, helly :)
2003-09-08 20:59:36 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Marcus Boerger
a28b0fdbb4
Nuke unused vars
2003-08-10 20:13:38 +00:00
Ilia Alshanetsky
c7a45fc9da
Fixed bug #23792 (8 bit graphics don't rotate properly)
...
Patch by: pajoye@php.net
2003-07-30 17:34:11 +00:00
Pierre Joye
dc0606f041
- Fix leak when no fill is done (ilia)
2003-07-23 00:23:21 +00:00
Pierre Joye
74c2027573
- Fix #bug24594
...
Rewrite the imagefill function (non recursive, uses of connected points
algorithm)
2003-07-23 00:08:57 +00:00
Pierre Joye
bf7f45601d
- wrong patch applied for #23792 , fixed
2003-07-10 00:09:23 +00:00
Pierre Joye
6da86c7e93
- Fix a possible crash when invalid color index are given as background
...
in imagerotate, only when palette based image is used as src
2003-07-09 10:36:07 +00:00
Pierre Joye
e1f163b053
- "Fix" #23792 , imagerotate returns always truecolor images now
...
(the destination image is a truecolor, no more limited palette problems)
- Clean the cast in gdImageCopyMerge
2003-07-09 10:15:13 +00:00
Pierre Joye
119175c943
- tabs
2003-07-02 11:36:17 +00:00
Pierre Joye
19f3c5b5fa
- Fix #23808
2003-07-02 11:23:56 +00:00
Ilia Alshanetsky
490da4fbb7
Fixed bug #24155 (gdImageRotate270 incorrectly use x parameter for y axis)
2003-06-12 19:31:44 +00:00
Ilia Alshanetsky
a8c7c3bc5e
No need to dupe macro
2003-06-04 14:58:20 +00:00
foobar
b2ee53106f
MFB: fix build
2003-06-04 05:32:03 +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
61026e391c
Syncronized bunbled GD library with gd 2.0.12
...
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Ilia Alshanetsky
feba44546c
Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()).
2003-03-30 20:48:05 +00:00
Ilia Alshanetsky
88281627bc
Style fixes.
2003-03-12 00:51:03 +00:00