read_exif_data crashes when reading image
| From: | Matthias Cramer | Date: | Fri, 05 Oct 2001 11:15:51 +0000 |
| Subject: | read_exif_data crashes when reading image | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70061@lists.php.net to get a copy of this message | ||
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/