Re: Memory limit of 8 MB not enough

From: Date: Wed, 16 Apr 2008 11:56:29 +0000
Subject: Re: Memory limit of 8 MB not enough
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-273041@lists.php.net to get a copy of this message
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

« previous php.general (#273041) next »