Ask a Question related to PHP Bugs, Design and Development.
-
tony2001@php.net #1
#40593 [Opn->Bgs]: imagecreatefrompng memory using
ID: 40593
Updated by: [email]tony2001@php.net[/email]
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 [url]http://www.fairtec.fr/bug.png[/url]
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 [url]http://bugs.php.net/?id=40593&edit=1[/url]
tony2001@php.net Guest
-
#40593 [NEW]: imagecreatefrompng memory using
From: alebec at sita dot fr Operating system: WIN2000 PHP version: 5.2.1 PHP Bug Type: Performance problem Bug description: ... -
Flash Player 8 huge memory using during drag (all memory gone in few minutes) !!!
Hi, my name is Ladislav Sopko and I am the project manager for our mapping solution MapWorld. MapWorld is a dynamic flash based cartographic... -
Memory consumption of Ruby/mod_ruby combo on Apache [memory leak]
> I don't think so - I think all the modules are loaded when Apache is It didn't have anything to do with IfModules or even Apache. I had a... -
newbie: PHP 4.3.3: Call to undefined function: imagecreatefrompng()
I typed in the a program from Programming PHP, p. 14. Fatal error: Call to undefined function: imagecreatefrompng() in... -
AspNet Process Memory Issue on Win2k Server - Peformance is fine - Memory usuage doesn't stop growing
We are running our company website on a win2k server running .NET framework 1.0 and IIS 5. The pages consist of mostly static content built from a...



Reply With Quote

