From 7f332c3b5018c3cac18bf2adb408861cb4522e74 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Thu, 6 Feb 2003 02:20:19 +0000 Subject: [PATCH] turning im to image git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@114903 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/exif-imagetype.xml | 18 +++++++++++++----- reference/image/functions/imagepstext.xml | 18 +++++++++--------- reference/image/functions/imagesettile.xml | 3 +-- reference/image/functions/imagettftext.xml | 8 ++++---- 4 files changed, 27 insertions(+), 20 deletions(-) diff --git a/reference/image/functions/exif-imagetype.xml b/reference/image/functions/exif-imagetype.xml index 9a84ee4262..95ae5cb6eb 100644 --- a/reference/image/functions/exif-imagetype.xml +++ b/reference/image/functions/exif-imagetype.xml @@ -1,5 +1,5 @@ - + @@ -21,10 +21,18 @@ The following constants are defined: - 1 = IMAGETYPE_GIF, 2 = IMAGETYPE_JPEG, 3 = IMAGETYPE_PNG, 4 = IMAGETYPE_SWF, - 5 = IMAGETYPE_PSD, 6 = IMAGETYPE_BMP, 7 = IMAGETYPE_TIFF_II (intel byte order), - 8 = IMAGETYPE_TIFF_MM (motorola byte order), 9 = IMAGETYPE_JPC, 10 = IMAGETYPE_JP2, - 11 = IMAGETYPE_JPX, 12 = IMAGETYPE_SWC. + 1 = IMAGETYPE_GIF, + 2 = IMAGETYPE_JPG, + 3 = IMAGETYPE_PNG, + 4 = IMAGETYPE_SWF, + 5 = IMAGETYPE_PSD, + 6 = IMAGETYPE_BMP, + 7 = IMAGETYPE_TIFF_II (intel byte order), + 8 = IMAGETYPE_TIFF_MM (motorola byte order), + 9 = IMAGETYPE_JPC, + 10 = IMAGETYPE_JP2, + 11 = IMAGETYPE_JPX et + 12 = IMAGETYPE_SWC. This function can be used to avoid calls to other exif functions with unsupported diff --git a/reference/image/functions/imagepstext.xml b/reference/image/functions/imagepstext.xml index c5e1d9b256..734ca440ec 100644 --- a/reference/image/functions/imagepstext.xml +++ b/reference/image/functions/imagepstext.xml @@ -1,5 +1,5 @@ - + @@ -32,10 +32,7 @@ - Size is expressed in pixels. - - - Foreground is the color in which the text + foreground is the color in which the text will be painted. Background is the color to which the text will try to fade in with antialiasing. No pixels with the color background are @@ -54,20 +51,23 @@ works. - Space allows you to change the default + space allows you to change the default value of a space in a font. This amount is added to the normal value and can also be negative. - Tightness allows you to control the amount + tightness allows you to control the amount of white space between characters. This amount is added to the normal character width and can also be negative. - Angle is in degrees. + angle is in degrees. - Antialias_steps allows you to control the + size is expressed in pixels. + + + antialias_steps allows you to control the number of colours used for antialiasing text. Allowed values are 4 and 16. The higher value is recommended for text sizes lower than 20, where the effect in text quality is quite visible. With diff --git a/reference/image/functions/imagesettile.xml b/reference/image/functions/imagesettile.xml index 9f5a64deac..9bafc227a9 100644 --- a/reference/image/functions/imagesettile.xml +++ b/reference/image/functions/imagesettile.xml @@ -1,5 +1,5 @@ - + @@ -32,7 +32,6 @@ color until you have set a new tile image! - This function was added in PHP 4.0.6 diff --git a/reference/image/functions/imagettftext.xml b/reference/image/functions/imagettftext.xml index daa3a670e7..ae85412e68 100644 --- a/reference/image/functions/imagettftext.xml +++ b/reference/image/functions/imagettftext.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ intangle intx inty - intcol + intcolor stringfontfile stringtext @@ -25,7 +25,7 @@ image, starting at coordinates x, y (top left is 0, 0), at an angle of angle in color - col, using the TrueType font file identified by + color, using the TrueType font file identified by fontfile. Depending on which version of the GD library that PHP is using, when fontfile does not begin with a leading '/', '.ttf' will be appended to the filename and @@ -55,7 +55,7 @@ characters in a font beyond the first 255. - Col is the color index. Using the + color is the color index. Using the negative of a color index has the effect of turning off antialiasing.