Commit graph

318 commits

Author SHA1 Message Date
Kalle Sommer Nielsen
9067127f31 * Fixed background usage on imagefilledpolygon and imagepolygon
* Added missing paragraph on imageftbbox


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@266127 c90b9560-bf6c-de11-be94-00142212c4b1
2008-09-11 09:38:50 +00:00
Kalle Sommer Nielsen
ec089fd587 Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265984 c90b9560-bf6c-de11-be94-00142212c4b1
2008-09-08 12:02:19 +00:00
Richard Quadling
05da70232c Added &reftitle.examples; and fixed some markup.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265650 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-29 15:49:16 +00:00
Kalle Sommer Nielsen
0ebb1e4ec0 * Fixing minor errors / adding improvements on many gd related functions with help from Ross Masters
* Added watermark examples on the main page based on Pierre's code by Ross Masters
* Added examples for the following functions
 * imagefilter
 * imageftbbox
 * imagegif
 * imagepsbbox
 * imagettfbbox
 * iptcembed
* Following examples are by Ross Masters
 * imagealphablending
 * imagecolorexact
 * imagecolorexactalpha
 * imagecolormatch
 * imagecolorresolve
 * imagecolorresolvealpha
 * imagegd
 * imagegd2
 * imagelayereffect
 * imagepstext


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265588 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-28 19:03:16 +00:00
Kalle Sommer Nielsen
46b5bc2c50 Add reference to imagesavealpha()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265562 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 16:02:08 +00:00
Kalle Sommer Nielsen
a4b47e97b3 Added missing calls to imagedestroy() on examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265560 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 15:26:04 +00:00
Kalle Sommer Nielsen
a4345870c0 Added examples for the following functions:
* imagecreatefromgd2part()
 * jpeg2wbmp()
 * png2wbmp()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265411 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 07:27:38 +00:00
Hannes Magnusson
159fa52e62 Fix build and spread some newlines loving
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265343 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 13:18:02 +00:00
Kalle Sommer Nielsen
86a9f0be43 * Added imagedestroy() call to image2wbmp() example
* Fixed threshold parameter description for jpeg2wbmp() and png2wbmp()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265317 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 01:03:28 +00:00
Kalle Sommer Nielsen
3f9e7ba826 Added new examples for gd documentation:
* imagecolorset
* imagecreatefromgd
* imagecreatefromgd2
* imagecreatefromxbm
* imagecreatefromxpm
* imagefttext
* imagepalettecopy
* imagepsencodefont
* imagepsextendfont
* imagepsslantfont
* imagesetbrush
* imagesetthickness
* imagesettile

Following examples are by Ross Masters:
* imageantialias
* imagecolorclosest
* imagecolorclosestalpha
* imagejpeg
* imagewbmp
* imagexbm


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265298 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-22 15:29:16 +00:00
Kalle Sommer Nielsen
875946ea1f * Added var_dump() call on imagecolorat() example to make the output as expected
* Added missing ; in the 2nd example on imagedashedline()
* Added example for imagesavealpha()
* Added example for imagepsfreefont()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265202 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-21 05:45:06 +00:00
Kalle Sommer Nielsen
0cac5f6eb9 Added examples for gd documentation:
* imagecolortransparent
* imagefilledrectangle
* Alternative to deprecated function imagedashedline

Also changed dashedline.png to imagedashedline.png so all figures are named image*


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265143 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 00:08:24 +00:00
Kalle Sommer Nielsen
4abd10bb26 Fixes #45848 (imagettfbbox has incorrect information for size parameter)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265101 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-18 21:40:14 +00:00
Kalle Sommer Nielsen
e470028c17 Fixed figure for imagestringup()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265040 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-18 07:13:34 +00:00
Kalle Sommer Nielsen
fcef2ea0d9 Added examples for:
* imagedashedline
* imagestringup

And added example usage for is_xhtml parameter on nl2br()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264826 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-14 10:08:30 +00:00
Kalle Sommer Nielsen
baa9dab8ca * Fixes #43529 (readdir(), rewinddir() and closedir() don't always fail when passed 0 arguments)
* Fixed wrong call in example on imageinterlace()
* Added example for imageistruecolor()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264477 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-08 18:44:17 +00:00
Kalle Sommer Nielsen
ca30bc0b02 Added examples for GD (imagecopy* + imagerectangle examples by Ross Masters):
* imagecolorstotal
* imagecopy
* imagecopymerge
* imagecopymergegray
* imagefontheight
* imagefontwidth
* imagegammacorrect
* imageinterlace
* imagerectangle


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264383 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-07 12:34:02 +00:00
Kalle Sommer Nielsen
e4f35b22e2 Fix various bugs inside gd documentation part 3/3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264210 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-05 07:32:05 +00:00
Kalle Sommer Nielsen
ac861274c6 Fix various bugs inside gd documentation part 2/3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263890 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-31 08:29:45 +00:00
Kalle Sommer Nielsen
85bdebe1e4 Fix various bugs inside gd documentation part 1/3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263821 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-30 03:05:34 +00:00
Kalle Sommer Nielsen
c34bac89bd Added undocumented constant GD_BUNDLED
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263807 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-29 21:26:28 +00:00
Kalle Sommer Nielsen
f9328eef04 imagecolorclosesthwb() is now available on Windows in 5.3 (#44849)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263027 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-20 19:17:39 +00:00
Daniel P. Brown
e9213453e6 Addresses bug #45511 and user note #84416.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262676 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-14 16:56:39 +00:00
Felipe Pena
65969454e9 - Fixed markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261934 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-02 16:32:47 +00:00
Richard Quadling
1721bf6db4 Bug#45411
Now returns 7 values. Also tidied the 6th and 7th values.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261907 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-02 10:43:24 +00:00
Daniel P. Brown
38e589c73b Addresses Bug #45379.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261703 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-27 16:06:49 +00:00
Philip Olson
db367ae954 Unified <title> and <titleabbrev> in every extensions book.xml/reference.xml
See the following bug report for details: http://bugs.php.net/44736


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260480 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-30 17:25:13 +00:00
Kalle Sommer Nielsen
d2dda26ce4 Documented imagecolorclosesthwb
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260452 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-30 00:43:03 +00:00
Etienne Kneuss
e244d1e51c Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259055 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-04 20:53:45 +00:00
Kalle Sommer Nielsen
c04c2958a5 Fix typo: arc > ellipse
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@258950 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-03 08:13:41 +00:00
Felipe Pena
079e80887e Fixed bug #44855 (Typo on the imagefttext)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@258660 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-28 19:56:16 +00:00
Nuno Lopes
6bf79545af typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@255628 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-20 22:16:17 +00:00
Philip Olson
d522d135a1 Removed PHP 3 information from the manual. Goodbye PHP 3, thanks for all the memories!
This commit covers many files.
The CVS file phpweb/manual/php3.php will exist to store [most of] this info.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253274 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-19 21:45:32 +00:00
Felipe Pena
b2ea7ba7ac Fix image extension (#43939)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@251358 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-26 02:37:09 +00:00
Hannes Magnusson
ef7b3b8495 MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
 - Moved the intro to book.xml
 - Changed the intro ID from <extname>.intro to intro.<extname>
 - Moved the constants entity to book.xml
 - Changed constants.xml to be an appendix
 - Moved the examples to examples.xml
	NOTE: The chapter has the ID 'image.examples', the orginal 'image.examples' example is now 'image.examples-png'
 - Moved the requirements and resources sections to setup.xml
 - Moved the configure and ini entities to setup.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248838 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-23 18:37:23 +00:00
Hannes Magnusson
0258a77f1e MFB: Rename "functions.xml" to entities.<dirname>.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247901 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-10 17:06:11 +00:00
Etienne Kneuss
6e0001af5e Add clarity + para on imagecopyresized
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247682 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-06 01:17:30 +00:00
Paul Reinheimer
7f690a781c Remember that time I had a linter so I could stop making these mistakes?
fixed formating issue


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247260 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-28 21:01:39 +00:00
Paul Reinheimer
cc36996de9 Added a basic framework, want to add an example later
Lots of stuff stolen from imagettftext


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247258 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-28 20:55:15 +00:00
Ken
60b01534d1 imagefttext() returns 8 values (4 points) that define the bounding lines
of the inserted text.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244164 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 20:13:59 +00:00
Hannes Magnusson
0f0443c5ac Document the IMAGETYPE_ICO constant and the icon support in getimagesize()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244162 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 19:22:54 +00:00
Hannes Magnusson
378e92e549 Add a oneliner for each constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244157 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 18:38:02 +00:00
Hannes Magnusson
4a6f7e12d8 Intergrade 3years old user note by ttoohey at php dot net
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244152 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 17:52:19 +00:00
Hannes Magnusson
fd64ecd44d New gd constants as of 5.2.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244151 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 16:23:54 +00:00
Hannes Magnusson
9833cf6f7b Document the alpha channel support for IMG_FILTER_COLORIZE as of 5.2.5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244147 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 15:47:06 +00:00
Hannes Magnusson
50295aa5b1 Fix typo in the image filename
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244142 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 13:42:25 +00:00
Hannes Magnusson
6a10a864ec Fixed bug#42763 (wrong return type for imagecreatefromjpeg)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244141 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 13:38:04 +00:00
Paul Reinheimer
3ce6d6f6bd fixed whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@243405 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-02 19:04:41 +00:00
Paul Reinheimer
db1a9d9ec7 Documented the other parameter, the required one even :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@243404 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-02 18:48:32 +00:00
Nuno Lopes
30704b02e6 semi-automatic update of the ini.xml files
still not updating the big table, because of technical issues


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242562 c90b9560-bf6c-de11-be94-00142212c4b1
2007-09-14 21:30:51 +00:00