Andreas Treichel
e4b9c3744c
Replace magic values with constants
2017-08-19 14:28:22 +02:00
Andreas Treichel
47fcd13055
Add support for webp in imagecreatefromstring
2017-07-30 02:50:33 +02:00
Christoph M. Becker
500b496f8e
Implement #69606 : Support BMPs (added in GD 2.1.0)
...
We add PHP bindings for libgd's features to read and write BMP files, which
are available as of libgd 2.1.0.
As PHP's bundled libgd doesn't yet include the respective features of the
external libgd, we add these.
2017-01-04 14:55:02 +01:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Joe Watkins
e0b6ac2976
Merge branch 'pull-request/2135'
2016-10-20 05:33:12 +01:00
Christoph M. Becker
209d4220d5
Add PHP bindings for setting and getting the image resolution
...
We expose the image resolution related GD functionality to userland
by introducing `imageresolution()` as getter/setter. Given only the
image argument, it returns the current resolution as indexed array.
Given only a second argument, it sets the horizontal and vertical
resolution to this value. Given three arguments, it sets the horizontal
and vertical resolution to the given arguments, respectively.
2016-10-18 01:53:39 +02:00
Christoph M. Becker
2a305b38b7
Implement request #33066 : Add GD Image Function gdImageOpenPolygon()
...
gdImageOpenPolygon() has been introduced with líbgd 2.0.29, so we finally
add a PHP binding for it, and port the respective libgd functionality to
PHP's bundled libgd.
2016-10-02 20:27:58 +02:00
Christoph M. Becker
d0f14a4429
Switch to libgd anti-aliased drawing API
...
Instead of rolling our own in the bundled libgd, we use libgd's anti-aliased
drawing API. This way imageantialias() is also available, when built against
a system libgd.
2016-10-02 13:16:40 +02:00
Christoph M. Becker
d795a6bf97
Implement #52857 : Access to gdImageSetClip() and gdImageGetClip()
...
We add the necessary PHP bindings for both functions which are available
as of GD_2_0_12 (released 2006-04-05). The API of imagegetclip() is modelled
according to imageftbbox().
2016-07-23 16:14:36 +02:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Kalle Sommer Nielsen
cff872eaad
Remove the references to imageps*() after the T1Lib removal (Noticed by Ferenc)
2015-06-19 14:55:10 +02:00
Kalle Sommer Nielsen
7dcfdbbee4
Remove T1Lib support (see #69698 )
...
# Also removes imagepscopyfont() which was never available (commented out)
2015-05-29 09:18:36 +02:00
Anatol Belski
2d78023244
cleanup the mod version macros, round 2
2015-03-23 20:33:54 +01:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Felipe Pena
0d6247f968
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fix extern declaration according to definition
2013-10-20 01:16:10 -02:00
Felipe Pena
a1daebefda
- Fix extern declaration according to definition
2013-10-20 01:16:07 -02:00
Remi Collet
00b097d2a3
fix build with bundled libgd
2013-05-04 16:51:56 +02:00
Ondřej Surý
8a90aad35b
Required GD >= 2.1.0 or GD bundled, this allows us to remove most of the #ifdef
2013-05-04 16:50:06 +02:00
Ondřej Surý
6aedadce0a
Allow to use new GD-2.1.0 function from system library
2013-05-04 16:49:35 +02:00
Remi Collet
26bd2cba81
gd: missing headers in previous
2013-04-24 16:15:42 +02:00
Pierre Joye
1ec484d3c5
- add imageaffinematrixget and imagematrixconcat
2013-03-20 12:19:03 +01:00
Pierre Joye
780c6e0a9c
- add affine matrix helper for translate, scale, rotate and shear
2013-03-20 11:01:37 +01:00
Pierre Joye
22159fb7b7
- add new interpolation method
...
. imagescale
. imageaffine
. replace imagerotate with new generic and optimized new implementations
. imagesetinterpolationmethod, to set the default interpolation to be
used with the new functions
. add imagepalettetotruecolor
2013-03-20 07:46:59 +01:00
Pierre Joye
7698bc5735
- disable threshold for now, will enable it again using CIEDE2000
2013-03-01 08:10:49 +01:00
Pierre Joye
a991360344
- add image crop support
2013-02-28 17:24:23 +01:00
Pierre Joye
e6414140e6
- add image flip API support
2013-02-27 10:39:16 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
cccc349aa5
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)
2010-10-04 22:30:35 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Pierre Joye
f726afbfeb
- [DOC] always enable imagecolormatch
2009-05-27 08:18:24 +00:00
Pierre Joye
59ec80c572
- MFH: [DOC] always enable imagerotate (bundled or system gd)
2009-05-27 07:18:05 +00:00
Pierre Joye
b682f42915
- [DOC] always enable imagefilter and imageconvolution, even when built against system's gd
2009-05-26 12:50:40 +00:00
Pierre Joye
03243d7e17
- silent warning
2009-03-31 18:05:36 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Scott MacVicar
2558df59d9
Remove GD 1.0 support, still need to adjust the configure scripts to correctly check for a newer version
2008-07-18 01:51:49 +00:00
Scott MacVicar
62de800b36
Remove freetype1 support
2008-07-18 01:16:25 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Pierre Joye
569e8596af
- MFH: add imagegrabwindow and imagegrabscreen (win32 only) [DOC]
...
capture a window using its handle or a full screen
2007-04-17 15:31:45 +00:00
Pierre Joye
89ad25f1af
- MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used
2007-04-04 01:58:24 +00:00