#29102 [Fbk->Opn]: createimagefromstring
| From: | damien dot racca at free dot fr | Date: | Wed, 14 Jul 2004 13:45:11 +0000 |
| Subject: | #29102 [Fbk->Opn]: createimagefromstring | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62244@lists.php.net to get a copy of this message | ||
ID: 29102
User updated by: damien dot racca at free dot fr
Reported By: damien dot racca at free dot fr
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: XP
PHP Version: 4.3.6
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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