From ff79b75fd0fee389f32897324ce85bd8cdc8b53d Mon Sep 17 00:00:00 2001 From: Dallas Wang Date: Mon, 25 Aug 2003 04:01:28 +0000 Subject: [PATCH] Fixing bug #25230. Reformatting. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138705 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/exif-read-data.xml | 78 ++++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/reference/image/functions/exif-read-data.xml b/reference/image/functions/exif-read-data.xml index dde831f353..4c2dec5f26 100644 --- a/reference/image/functions/exif-read-data.xml +++ b/reference/image/functions/exif-read-data.xml @@ -1,5 +1,5 @@ - + @@ -40,7 +40,7 @@ COMPUTED - html, Width, Height, IsColor and some more if available. + html, Width, Height, IsColor and some more if available. @@ -74,8 +74,8 @@ arrays specifies whether or not each section - becomes an array. The sections FILE, - COMPUTED and THUMBNAIL allways + becomes an array. The sections COMPUTED, + THUMBNAIL and COMMENT allways become arrays as they may contain values whose names are conflict with other sections. @@ -153,72 +153,72 @@ THUMBNAIL.Thumbnail.Height: 1 - If the image contains any IFD0 data then COMPUTED contains the entry + If the image contains any IFD0 data then COMPUTED contains the entry ByteOrderMotorola which is 0 for little-endian (intel) and 1 for big-endian (motorola) byte order. This was added in PHP 4.3. - When an Exif header contains a Copyright note this itself can contain two - values. As the solution is inconsitent in the Exif 2.10 standard the COMPUTED + When an Exif header contains a Copyright note this itself can contain two + values. As the solution is inconsitent in the Exif 2.10 standard the COMPUTED section will return both entries Copyright.Photographer and Copyright.Editor while the IFD0 sections contains the byte array with the NULL character that splits both entries. Or just the first entry if the datatype was wrong (normal behaviour of Exif). The COMPUTED will contain also an entry Copyright Which - is either the original copyright string or it is a comma separated list of + is either the original copyright string or it is a comma separated list of photo and editor copyright. - The tag UserComment has the same problem as the Copyright tag. It can store - two values first the encoding used and second the value itself. If so the - IFD section only contains the encoding or a byte array. The COMPUTED section - will store both in the entries UserCommentEncoding and - UserComment. The entry UserComment + The tag UserComment has the same problem as the Copyright tag. It can store + two values first the encoding used and second the value itself. If so the + IFD section only contains the encoding or a byte array. The COMPUTED section + will store both in the entries UserCommentEncoding and + UserComment. The entry UserComment is available in both cases so it should be used in preference to the value in IFD0 section. - If the user comment uses Unicode or JIS encoding and the module mbstring is + If the user comment uses Unicode or JIS encoding and the module mbstring is available this encoding will automatically changed according to the exif ini settings in the &php.ini;. This was added in PHP 4.3. - Height and Width are computed the same way getimagesize - does so their values must not be part of any header returned. Also html is - a height/width text string to be used inside normal HTML. + Height and Width are computed the same way getimagesize + does so their values must not be part of any header returned. Also html is + a height/width text string to be used inside normal HTML. - Starting from PHP 4.3 the function can read all embedded IFD - data including arrays (returned as such). Also the size of an embedded thumbnail - is returned in THUMBNAIL subarray and the function - exif_read_data can return thumbnails in TIFF - format. Last but not least there is no longer a maximum legth for returned - values (not until memory limit is reached). + Starting from PHP 4.3 the function can read all embedded IFD + data including arrays (returned as such). Also the size of an embedded thumbnail + is returned in THUMBNAIL subarray and the function + exif_read_data can return thumbnails in TIFF + format. Last but not least there is no longer a maximum legth for returned + values (not until memory limit is reached). - - This function is only available in PHP 4 compiled using - . - Its functionality and behaviour has changed in PHP 4.2. Earlier versions - are very unstable. - - - Since PHP 4.3 user comment can automatically change encoding if PHP 4 was - compiled using . - - - This function does not require the GD image library. - - - See also exif_thumbnail and getimagesize. - + + This function is only available in PHP 4 compiled using + . + Its functionality and behaviour has changed in PHP 4.2. Earlier versions + are very unstable. + + + Since PHP 4.3 user comment can automatically change encoding if PHP 4 was + compiled using . + + + This function does not require the GD image library. + + + See also exif_thumbnail and getimagesize. +