ID: 13323
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: *Graphics related
Operating System: Windows 2000 Pro
PHP Version: 4.0.6
New Comment:
Please try a recent snapshot from http://snaps.php.net:8000/
- Markus
Previous Comments:
------------------------------------------------------------------------
[2001-09-15 19:35:05] [EMAIL PROTECTED]
Image produced by FujiFilm 4900Zoom
Examples of error messages. The number of bytes in the error messages varies from
image to image.
With an image taken at 640x480 I get error:
Fatal error: Illegal thumbnail size in E:\MyFiles\web\rucc\oldtest.php on line 12
With an image taken at 1280x960 I get error:
FATAL: emalloc(): Unable to allocate -266076160 bytes
With an image taken at 1600x1200 I get error:
FATAL: emalloc(): Unable to allocate -1222377472 bytes
With an image taken at 2400x1800 I get error:
FATAL: emalloc(): Unable to allocate -500891648 bytes
It would appear that it is falling over in function 'ExtractThumbnail' that can be
found in exif.c
I have tried the same php script with an image taken by an Olympus camera and it works
without problem.
All the other Exif reading utilities I have work equally well with Olympus and Fuji
images.
Some sample images
640x480 - http://marct.com/DSCF0023.JPG
1280x960 - http://marct.com/DSCF0022.JPG
1600x1200 - http://marct.com/DSCF0021.JPG
2400x1800 - http://marct.com/DSCF0020.JPG
Sample Script:
<?php
$exif = read_exif_data ('DSCF0023.JPG');
?>
I am using the pre-compiled version of PHP, 4.0.6 with IIS5.
The only change I have made to the php.ini file it to un-comment the line
'extension=php_exif.dll'
I would be of great benefit if I could use this php function with these images and
will help in any way I can to fix the problem.
Thank You
Marc
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13323&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]