phppete
05-23-2008, 04:40 AM
I just want to confirm something, when resizing images with GD lib and PHP the memory limit is 32MB, do the same memory limits apply when using 'convert' executed through PHP's exec() function?
The reason I ask is because on one site I noticed the memory exceeded 32MB for GD using the open source TinyMCE image manager where as I haven't experienced this on my own custom scripts that use imagemagick with exec().
Am I also correct in assuming imagemagick will use less memory than GD for the exact same task? If a FQ staff member could clarify some of this I would be most grateful, I always like to ensure I am a considerate neighbour. FWIW these image tasks are very infrequent and done within a protected admin and this is the first time I have seen this problem with TinyMCE image manager. It would appear the issue could be with cropping images rather than resizing.
Thank you.
The reason I ask is because on one site I noticed the memory exceeded 32MB for GD using the open source TinyMCE image manager where as I haven't experienced this on my own custom scripts that use imagemagick with exec().
Am I also correct in assuming imagemagick will use less memory than GD for the exact same task? If a FQ staff member could clarify some of this I would be most grateful, I always like to ensure I am a considerate neighbour. FWIW these image tasks are very infrequent and done within a protected admin and this is the first time I have seen this problem with TinyMCE image manager. It would appear the issue could be with cropping images rather than resizing.
Thank you.