Re: [PHP] imagecreatefromjpeg() uses too much memory

2006-03-28 Thread Fredrik Enestad
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 <[EMAIL P

Re: [PHP] imagecreatefromjpeg() uses too much memory

2006-03-28 Thread Richard Davey
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 w

Re: [PHP] imagecreatefromjpeg

2005-01-11 Thread Jason Wong
On Wednesday 12 January 2005 05:55, Juergen Rehberger wrote: > I have checked my memory limit in the php.ini file and it is 8mb as well on > my offline server. Are you sure that your local server was compiled with --enable-memory-limit? The memory limit set in php.ini will only be enforced if y

Re: [PHP] imagecreatefromjpeg

2005-01-11 Thread Rasmus Lerdorf
Juergen Rehberger wrote: Hi Thanx for the fast response to my problem I have checked my memory limit in the php.ini file and it is 8mb as well on my offline server. i further noticed that on my online server it doesnt realy depend on the filesize in mb but rather the size in pixel. once i try to

Re: [PHP] imagecreatefromjpeg

2005-01-09 Thread Alex Greg
On Sun, 9 Jan 2005 21:37:33 +1100, Juergen Rehberger <[EMAIL PROTECTED]> wrote: > i have a problem with my resizing image script. > > It all works fine on my localhost server, but once i upload the whole thing > on my webhost, the script allows resizing of images not bigger than 600kb or > somet

Re: [PHP] imagecreatefromjpeg fails on large files

2004-07-20 Thread raditha dissanayake
[EMAIL PROTECTED] wrote: Thanks for the good suggestion. It turns out that the call to imagecreatefromjpeg succeeds when run from the command line and fails when invoked via the web server. I guess it is a memory limit issue of some sort. I tried upping the memory_limit via ini_set and while my

Re: [PHP] imagecreatefromjpeg fails on large files

2004-07-19 Thread tmp1000
[Sorry if there's multiple posts...] Raditha, Thanks for the good suggestion. It turns out that the call to imagecreatefromjpeg succeeds when run from the command line and fails when invoked via the web server. I guess it is a memory limit issue of some sort. I tried upping the memory_limit via

Re: [PHP] imagecreatefromjpeg fails on large files

2004-07-16 Thread raditha dissanayake
[EMAIL PROTECTED] wrote: I'm running into a problem where imagecreatefromjpeg fails and gives me a warning like this: Warning: imagecreatefromjpeg(): 'albums/userpics/10001/dave_sharath.jpg' is not a valid JPEG file in /homepages/32/d91926016/htdocs/photos/include/picmgmt.inc.php on line 202 Hav

Re: [PHP] imagecreatefromjpeg() problems

2003-08-17 Thread J-K
Hi Jaap! Thanks for your answer, but I checked phpinfo() and it says: JPG Support Enabled Any ideas? The images are photo-like so png would make them too big. Best regards Jan-Kristian Markiewicz "Jaap Van Ganswijk" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > At 2003-08-16 14:

Re: [PHP] imagecreatefromjpeg() problems

2003-08-16 Thread Jaap van Ganswijk
At 2003-08-16 14:35 +0200, J-K wrote: >I've made a little script to make thumbnails which worked before the >summer, but now I get this errormessage: > >Fatal error: Call to undefined function: >imagecreatefromjpeg() in >/usr/local/others/www.stud.users/mark/gfx/create_tn.php on line >15 > >First

RE: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Steve Keller
At 5/29/2003 02:42 PM, Edward Peloke wrote: > Nevermind, I got it working with a few ini changes... All rightee. Glad I could help. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax)

RE: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Edward Peloke
Nevermind, I got it working with a few ini changes... Thanks, Eddie -Original Message- From: Steve Keller [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:24 PM To: Edward Peloke; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] imagecreatefromjpeg() At 5/29/2003 01:55 PM, Edward

RE: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Edward Peloke
Message- From: Steve Keller [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:24 PM To: Edward Peloke; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] imagecreatefromjpeg() At 5/29/2003 01:55 PM, Edward Peloke wrote: > I now have php 4.3.2 I'm sorry, I read the version wrong. F

Re: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Steve Keller
At 5/29/2003 01:55 PM, Edward Peloke wrote: > I now have php 4.3.2 I'm sorry, I read the version wrong. Feel free to ignore me. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Emai

Re: [PHP] imagecreatefromjpeg()

2003-05-30 Thread Steve Keller
At 5/29/2003 01:55 PM, Edward Peloke wrote: > Isn't php4.3.2 compiled with the gd library Not necessarily. Run a phpinfo() and look in the configuration for --with-gd. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 90

RE: [PHP] Imagecreatefromjpeg()

2003-01-16 Thread Matt Schroebel
> > Header("Content-type: image/jpeg"); > $im = ImageCreateFromJpeg('1234_1.jpg'); > ImageJpeg($im);?> > > The file is in the folder, it has execute and write > permissions set, and the error given is "The image > cannot be displayed, because it contains errors.", > which is not very useful.

Re: [PHP] ImageCreateFromJpeg error

2002-11-21 Thread Scott Nagel
Thanks for the help. Didn't know about the ini_set() function. The error was 'No JPEG support in this PHP build'. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > On Friday 22 November 2002 03:21, Scott Nagel wrote: > > I am trying to use the following piece of co

Re: [PHP] ImageCreateFromJpeg error

2002-11-21 Thread Jason Wong
On Friday 22 November 2002 03:21, Scott Nagel wrote: > I am trying to use the following piece of code: > > $img_resized = imagecreate($img_new_width, $img_new_height); > $img_source = > ImageCreateFromJpeg($pa_strDocroot.$pa_strReadFold."/".$this->Name); > imagecopyresized($img_resized, $img_source