Re: imagecreatefromjpeg() uses too much memory
| From: | Fredrik Enestad | Date: | Tue, 28 Mar 2006 14:50:49 +0000 |
| Subject: | Re: imagecreatefromjpeg() uses too much memory | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232731@lists.php.net to get a copy of this message | ||
The image I'm trying is 2848x2144 @ 2,13MB so its pretty big..
An other user in this mail-group asked me if ImageMagick existed on the
server,
but I'm pretty new to all this, and I don't actually know how to check if it
does?
Thanks for taking the time
Fredrik
2006/3/28, Richard Davey <rich@corephp.co.uk>:
>
> On 28 Mar 2006, at 14:21, Fredrik Enestad wrote:
>
> > I'm making a function for uploading and resizing images to my web
> > hotel.
> > Problem is, memory_limit is set to 16M so when uploading larger
> > images the
> > script crashes.
> >
> > So, I tried to override the memory_limit setting, but as it turns
> > out, my
> > web host has set some safe mode setting,
> > so that no settings can be changed in the php.ini, and they wont
> > change the
> > setting to a higher value themselves.
> >
> > Do any of you know any other way to solve this problem?
>
> What size images are you uploading? (as in what dimensions, and file
> size)
>
> Do you have access to something like ImageMagik on the server?
>
> Cheers,
>
> Rich
> --
> http://www.corephp.co.uk
> Zend Certified Engineer
> PHP Development Services
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Mvh
Fredrik Enestad