Date: 09/15/01
- Next message: txtilde <email protected>: "[PHP-DEV] Bug #13324 Updated: Access violations / memory problems"
- Previous message: txtilde <email protected>: "[PHP-DEV] Bug #13324: Access violations / memory problems"
- In reply to: marc_thomas <email protected>: "[PHP-DEV] Bug #13323: read_exif_data fails with images produced by FujiFilm 4900Zoom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13323
Updated by: mfischer
Reported By: marc_thomas <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] marc_thomas <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: txtilde <email protected>: "[PHP-DEV] Bug #13324 Updated: Access violations / memory problems"
- Previous message: txtilde <email protected>: "[PHP-DEV] Bug #13324: Access violations / memory problems"
- In reply to: marc_thomas <email protected>: "[PHP-DEV] Bug #13323: read_exif_data fails with images produced by FujiFilm 4900Zoom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

