Commit graph

260 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
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
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
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
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
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
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
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
Jakub Vrana
ec5b0b084a In UTF-8 (bug #37009)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241635 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-20 11:00:53 +00:00
Richard Quadling
37b62aef4a Fix #42224 => Wether => Whether
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240835 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-07 08:07:00 +00:00
Maciek Sokolewicz
4a91ea0dd0 clarified the description of the filename parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@239698 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-13 14:45:23 +00:00
Hannes Magnusson
d104fb2aa9 Docbook5 typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238235 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-21 23:09:03 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Nuno Lopes
6f3b4ef694 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238052 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-19 12:06:16 +00:00
Gwynne Raskind
3cd83ee1f6 Better fix for bug #41321
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237904 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-17 10:35:30 +00:00
Gwynne Raskind
8f8829276b Update changelog regarding bug #41321
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237902 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-17 10:26:33 +00:00
Hannes Magnusson
128dec11c3 copy&paste typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236351 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-25 21:07:50 +00:00
Hannes Magnusson
b4c75ac745 Fixed bug#41080 (#38794 also applies to imagegif and imagejpeg)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236348 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-25 20:11:42 +00:00