#29102 [Opn->Csd]: createimagefromstring
| From: | iliaa@php.net | Date: | Thu, 15 Jul 2004 23:29:10 +0000 |
| Subject: | #29102 [Opn->Csd]: createimagefromstring | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62420@lists.php.net to get a copy of this message | ||
ID: 29102
Updated by: iliaa@php.net
Reported By: damien dot racca at free dot fr
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: XP
PHP Version: 4.3.6
New Comment:
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
Works fine with latest CVS.
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 15:45:10] damien dot racca at free dot fr
here one of the image that make the script stopped at the
imagecreatefromstring function
http://damien.racca.free.fr/hv0.jpg
and the phpinfo of the provider :
http://damien.racca.free.fr/hv0.jpg
If somebody could make a test...
For now I used imagecreatefromJPEG but I have to create a temp file to
store the image that is in the variable after having extrected it from
the MYSQL database. Not the best solution I think. But it's OK with all
images (even this one that make the imagecreatefromstring failed).
------------------------------------------------------------------------
[2004-07-14 14:04:22] sniper@php.net
Please put the image online somewhere for us to be able to download and
test ourselves.
------------------------------------------------------------------------
[2004-07-12 03:34:21] damien dot racca at free dot fr
Description:
------------
Fixed bug #21518 (imagecreatefromstring() crashed with invalid image
files). (Ilia)
That seemed to be solved in earlier version that my 4.3.4 but I have
still the problem. I can't update because of a free provider (free.fr)
but in new versions, this bug has not be solved.
Some JPEG files (I don't know why sme can't be used !) stop the script
execution.
Very ennoying because I wanted to use this finction to make thumbnails
from images stored in a mysql table.
Reproduce code:
---------------
$a=createimagefromstring($myrow[0]) with $myrow[0] being a JPEG image
stored in a mysql table (this JPEG can be displayed if
createimagefromstring is not used !).
Expected result:
----------------
The scipt has to continue, not stopping !
Actual result:
--------------
Script stop when createimagefromstring is used.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29102&edit=1