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

Posted by Philip Ronan on 05/13/05 15:21

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

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