You are here: Re: GD Library « PHP Programming Language « IT news, forums, messages
Re: GD Library

Posted by M on 05/13/05 17:08

Now I know that memory allocation for PHP is set to 12MB. So that is the
problem.


"M" <thinICE@ngi.it> ha scritto nel messaggio
news:d626em$osm$1@news.ngi.it...
> Thanks for the reply, I suppose that too reading old news from here.
> I'll post here if I find the solution.
>
> "Philip Ronan" <invalid@invalid.invalid> ha scritto nel messaggio
> news:BEAA5A65.310CF%invalid@invalid.invalid...
>>M wrote:
>>
>>> Hallo NG,
>>> I have problem creating automatic thumbnails from image of size
>>> 2200*1700
>>> pixel, if I scale the same image to 1000*x pixel thumbnails creation
>>> works
>>> good.
>>> Someone knows if it's a limit of GD library version 2.0.28 or a lack on
>>> server setup?
>>> Thanks.
>>
>> This isn't a limitation of the GD library. You're just using up all the
>> memory available to PHP.
>>
>> (Hint: 2000 x 1700 x 24 bits per pixel for a full-colour image = almost
>> 80
>> megabytes)
>>
>> Perhaps there's something in php.ini that you can adjust to give it more
>> memory?
>>
>> --
>> phil [dot] ronan @ virgin [dot] net
>> http://vzone.virgin.net/phil.ronan/
>>
>>
>
>

 

Navigation:

[Reply to this 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

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