ID:               40593
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alebec at sita dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Performance problem
 Operating System: WIN2000
 PHP Version:      5.2.1
 New Comment:

GD library converts all images into the internal format.
Yes, this format is quite memory consuming. 
But that's something not PHP related.


Previous Comments:
------------------------------------------------------------------------

[2007-02-22 16:05:23] alebec at sita dot fr

Description:
------------
Hello, i just update PHP from V4.4.? to V5.2.1 on W2000 iis .

I use GD2 to convert png image file, 
since PHP5, i need to set memory_limit=50M to load a png file with
imagecreatefrompng .
With php4 there is no pb with memory_limit=20M 

My png file is http://www.fairtec.fr/bug.png

Any explication ?

Reproduce code:
---------------
<?PHP
// error :(
ini_set( "memory_limit", "20M" );
$image=imagecreatefrompng ("bug.png");
?>

<?PHP
// ok :)
ini_set( "memory_limit", "50M" );
$image=imagecreatefrompng ("bug.png");
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40593&edit=1

Reply via email to