#23497 [Opn->WFx]: computation of 35mmFocalLength (exif)

From: Date: Mon, 05 May 2003 23:16:35 +0000
Subject: #23497 [Opn->WFx]: computation of 35mmFocalLength (exif)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39120@lists.php.net to get a copy of this message
ID: 23497 Updated by: helly@php.net Reported By: francois at guillier dot org -Status: Open +Status: Wont fix Bug Type: *Graphics related PHP Version: 4CVS-2003-05-05 (stable) New Comment: This is an approximation that maybe is wrong but every manufacturer does its own error. So maybe the correct thing would be to provide an ini setting for that. If you come up with a hint that shows that 36 is really better i consider changing it. Otherwise there will be now change before next major version. Previous Comments: ------------------------------------------------------------------------ [2003-05-05 16:59:23] francois at guillier dot org 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 this bug report at http://bugs.php.net/?id=23497&edit=1

« previous php.bugs (#39120) next »