Reply to Re: Work with BIG picture

Your name:

Reply:


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%)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация