#23497 [NEW]: computation of 35mmFocalLength (exif)
| From: | francois at guillier dot org | Date: | Mon, 05 May 2003 21:59:23 +0000 |
| Subject: | #23497 [NEW]: computation of 35mmFocalLength (exif) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39113@lists.php.net to get a copy of this message | ||
From: francois at guillier dot org
Operating system:
PHP version: 4CVS-2003-05-05 (stable)
PHP Bug Type: *General Issues
Bug description: computation of 35mmFocalLength (exif)
In the following code (around ligne 3830 of exif.c):
exif_iif_add_fmt(&ImageInfo, SECTION_COMPUTED, "35mmFocalLength"
TSRMLS_CC, "%dmm",
(int)(ImageInfo.FocalLength/ImageInfo.CCDWidth*35+0.5));
Why is CCDWidth multiplied by 35 knowing than, on 35mm film,
the image actual size is 36x24mm?
--
Edit bug report at http://bugs.php.net/?id=23497&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23497&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23497&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23497&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23497&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23497&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23497&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23497&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23497&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23497&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23497&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23497&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23497&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23497&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23497&r=gnused