|
>>
|
No.
686
OK, I have located the problem and it does have something to do with the dimension. The code that was written uses a php function called imagecreatetruecolor. This function uses the maximum of memory allowed in our php.ini file. I could up it if I so desired but I am not really a fan of upping the memory usage and having our server hog up resources only to allow images to post. The memory is set to 32MB right now and I assume that would be enough for most images. I will look a little for, and if you find any, more efficient similart functions in PHP I would be willing to try them out and see if it fixes some of the problems but really it is sort of sounding like a limitation with the language/alloted memory usage.
Resources:
http://php.net/manual/en/function.imagecreatetruecolor.php
http://www.graphic-forums.com/archive/index.php/t-2589.html
>I had a similar problem myself. THe issue here is the function imagecreatetruecolor(); it uses alot of memory, and is not all that efficient. when editing a large image, the memory it uses is several orders of magnitude larger than the image itself for some reason.
|