From d382e105e40613a00c32b1bd2cf91026cba0edae Mon Sep 17 00:00:00 2001 From: Simone Cortesi Date: Sat, 6 Apr 2002 10:06:13 +0000 Subject: [PATCH] converting function names in examples to be lowercase fixing getimagesize example: it was not good HTML fixing layout of examples: they were not spaced correctly git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76801 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/image.xml | 221 ++++++++++++++++++++++---------------------- 1 file changed, 110 insertions(+), 111 deletions(-) diff --git a/functions/image.xml b/functions/image.xml index 167166d0e8..685f0229cc 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1,5 +1,5 @@ - + Image functions Image @@ -358,21 +358,23 @@ THUMBNAIL.Thumbnail.Height: 1 height="yyy" width="xxx" string that can be used directly in an IMG tag. - GetImageSize (file) + getimagesize (file) - +"; +?> ]]> - GetImageSize (URL) + getimagesize (URL) + ]]> @@ -400,15 +402,15 @@ THUMBNAIL.Thumbnail.Height: 1 function to parse the binary APP13 marker into something readable. - GetImageSize returning IPTC + getimagesize returning IPTC ]]> @@ -441,7 +443,7 @@ THUMBNAIL.Thumbnail.Height: 1 Description - intimage2WBMP + intimage2wbmp intim stringfilename intthreshold @@ -743,8 +745,8 @@ THUMBNAIL.Thumbnail.Height: 1 @@ -774,8 +776,8 @@ $black = ImageColorAllocate ($im, 0, 0, 0); @@ -1142,7 +1144,7 @@ ImageColorDeAllocate($im, $white); Description - intImageCopy + intimagecopy resourcedst_im resourcesrc_im intdst_x @@ -1172,7 +1174,7 @@ ImageColorDeAllocate($im, $white); Description - intImageCopyMerge + intimagecopymerge resourcedst_im resourcesrc_im intdst_x @@ -1208,7 +1210,7 @@ ImageColorDeAllocate($im, $white); Description - intImageCopyMergeGray + intimagecopymergegray resourcedst_im resourcesrc_im intdst_x @@ -1346,12 +1348,12 @@ ImageColorDeAllocate($im, $white); ]]> @@ -1504,14 +1506,14 @@ ImagePng ($im); Header("Content-type: image/gif"); - ImageGIF($im); by the more flexible sequence: + imagegif ($im); by the more flexible sequence: ]]> @@ -2028,11 +2030,11 @@ function LoadWBMP ($imgname) { @@ -2068,8 +2070,8 @@ elseif (ImageTypes() & IMG_JPG) { ]]> @@ -2143,7 +2145,7 @@ ImagePng($im); Description - intimageWBMP + intimagewbmp intim stringfilename intforeground @@ -2555,17 +2557,15 @@ ImagePng($im); ]]> @@ -2834,31 +2834,31 @@ ImageDestroy ($im); Following example script draws a dashed line from upper left to lower right corner of the canvas: - ImageSetStyle + imagesetstyle ]]> @@ -3236,18 +3236,17 @@ ImageDestroy ($im); This example script will produce a black GIF 400x30 pixels, with the words "Testing..." in white in the font Arial. - ImageTTFText + imagettftext ]]> @@ -3306,11 +3305,11 @@ ImageDestroy ($im); | IMG_PNG | IMG_WBMP. To check for PNG support, for example, do this: - ImageTypes + imagetypes