note 61708 added to function.imagecreatefromjpeg
| From: | JohnBrook at pobox dot com | Date: | Fri, 10 Feb 2006 02:51:54 +0000 |
| Subject: | note 61708 added to function.imagecreatefromjpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103403@lists.php.net to get a copy of this message | ||
Additional note on allocating memory: The 1.65 in the formula provided below by yaroukh and Karolis
is evidently a "fudge factor" arrived at through experimentation. I found that I had to
nudge it up a little bit in order to accurately predict the memory that would be needed, otherwise
the allocation still failed. In my case, I went right to 1.8 and that has worked so far. Your
mileage may vary, so experiment as needed.
----
Server IP: 216.194.113.175
Probable Submitter: 24.39.15.180
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61708
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61708&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61708&report=yes
Search -- http://master.php.net/manage/user-notes.php