Posted by Ivαn Sαnchez Ortega on 02/26/07 12:47
Daniele wrote:
> [...] i'm able to resize crop end save but with bigger picture php
> generate and error of memory_limit on the line where is "$image =
> imagecreatefromjpeg($_FILES['imgfile']['tmp_name']);"
> any idea ?
The PHP image library loads the entire *uncompressed* image into memory.
That means sh*tloads of memory for large images.
Consider using memory-efficient external tools to accomplish this task, such
as the ImageMagick suite.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Now listening to: Intuit - Bar Lounge Classics Vol. 1 CD 10 - [13] O
Preguicoso (6:23) (95%)
Navigation:
[Reply to this message]
|