Re: read_exif_data crashes when reading image
| From: | Richard Lynch | Date: | Fri, 05 Oct 2001 19:52:57 +0000 |
| Subject: | Re: read_exif_data crashes when reading image | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70192@lists.php.net to get a copy of this message | ||
Try the suggestions for dealing with crashes at http://bugs.php.net
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Matthias Cramer <cramer@dolphins.ch>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Friday, October 05, 2001 6:15 AM
Subject: read_exif_data crashes when reading image
> Hi
>
> When I use the followin code snippet whe webbrowser tells me that
> the page is empty ...
>
> $exif = @ read_exif_data($pictureroot . $PATH_INFO);
>
> if ($exif) {
> while(list($k,$v)=each($exif)) {
> if ($k != 'Thumbnail' && !ereg('Raw', $k)) {
> echo "$k: $v<br>\n";
> }
> }
> }
>
> This happens not on all pictures only on a fiew, the only common thing
> I've found is that the all are made my a Kodak DC240.
> When I use the programm metacam on this file, it looks as follows:
>
> File: dcp_0029.jpg
> Make: EASTMAN KODAK COMPANY
> Model: KODAK DC240 ZOOM DIGITAL CAMERA
> X Resolution: 192 Pixels/Inch
> Y Resolution: 192 Pixels/Inch
> YCbCr Positioning: Center of Array
> EXIF Fields --------------------------------
> Image Capture Date: 1999:02:02 11:26:37
> Image Digitized Date: 1999:02:02 11:26:37
> Exposure Bias: 0 EV
> Focal Length: 16mm
> Exposure Time: 1/90 Sec.
> Aperture: f8
> Exif Image Width: 1280 pixels
> Exif Image Height: 960 pixels
> Metering Mode: Average
> EXIF Version: 0210
> FlashPix Version: 0100
> Light Source/White Balance: Automatic
> Flash: No
> Sensing Method: Single Chip Color Area Sensor
> Aperture Value: f8
> Max Aperture Value: f4.1
> Shutter Speed Value: 1/90.5097 Sec.
>
> Is this a known issue ??
>
> Best regards
>
> Matthias
>
> --
> _;\_ Matthias Cramer System & Network Manager
> /_. \ Dolphins Network Systems AG Phone +41-1-847'45'45
> |/ -\ .) Libernstrasse 24 Fax +41-1-847'45'49
> -'^`- \; CH-8112 Otelfingen
> http://www.dolphins.ch/
>