note 90643 added to function.imagecreatefromjpeg

From: Date: Sat, 02 May 2009 06:47:42 +0000
Subject: note 90643 added to function.imagecreatefromjpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-154096@lists.php.net to get a copy of this message
Hello It seems that imagecreatefromjpeg is buggy in PHP 5.2.6. I try to load a JPG file from a digital camera which has 3072x2304 Pixels I get the error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3072 bytes) That error is a contradiction! If I calculate 3072 x 2304 x 3 bytes per pixel I get a memory usage of 21 MB. So it should be possible to open that image. If I cannot open files which the users have uploaded, the GD library is completely useless for me! Please fix this as soon as possible! ---- Server IP: 190.54.16.132 Probable Submitter: 201.246.73.31 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php Edit -- https://master.php.net/note/edit/90643 Del: integrated -- https://master.php.net/note/delete/90643/integrated Del: useless -- https://master.php.net/note/delete/90643/useless Del: bad code -- https://master.php.net/note/delete/90643/bad+code Del: spam -- https://master.php.net/note/delete/90643/spam Del: non-english -- https://master.php.net/note/delete/90643/non-english Del: in docs -- https://master.php.net/note/delete/90643/in+docs Del: other reasons-- https://master.php.net/note/delete/90643 Reject -- https://master.php.net/note/reject/90643 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#154096) next »