Re: Memory limit of 8 MB not enough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 6:48 PM +0900 4/16/08, Dave M G wrote:
PHP list,

I have a PHP script that resizes an image. It takes just about whatever size and shrinks and crops it down to 320X240.

I've found that these days, it's not uncommon for people to take images straight off their digital camera, which can be 3000X2000 pixels in image size, even if the jpeg file containing the image is only 200 KB. When working with the image, it gets uncompressed and takes up a lot of memory.

You might want to look into using javascript to trim the file down to a respectable size before uploading.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux