Re: [PHP] Re: Image resize on upload

2004-02-26 Thread Gareth Williams
I'll second that one, I wrote a shell script in PHP to resize images, using ImageMagicks mogrify command, and it took ages. It's really much too slow for a web site. If you need a faster solution, I think you have to buy something. On 26 Feb 2004, at 09:15, Adam Bregenzer wrote: On Thu,

Re: [PHP] Re: Image resize on upload

2004-02-26 Thread Adam Bregenzer
On Thu, 2004-02-26 at 02:25, Will wrote: I forgot to mention what I was trying to do. There is a web page that pulls the image file name from the database then reads the URL to the directory where the image is. Is it possible to just resize it when the web page is brought up in the

Re: [PHP] Re: Image resize on upload

2004-02-26 Thread daniel
gd seems to work fine ? even nconvert via command line does a good job and it resizes gif too I'll second that one, I wrote a shell script in PHP to resize images, using ImageMagicks mogrify command, and it took ages. It's really much too slow for a web site. If you need a faster solution,

Re: [PHP] Re: Image resize on upload

2004-02-26 Thread Will
Thanks!! I found some documentation on the GD library. I most likely be posting again!! :) ~WILL~ [EMAIL PROTECTED] wrote: gd seems to work fine ? even nconvert via command line does a good job and it resizes gif too I'll second that one, I wrote a shell script in PHP to resize images, using

Re: [PHP] Re: Image resize on upload

2004-02-26 Thread Ed Curtis
Make sure you use imagecreatetruecolor() with GD when resizing images or you'll get some undesirable results. Imagemagick's convert and mogrify worked well for me although I was resizing an uploaded image. Ed Curtis On Thu, 26 Feb 2004, Will wrote: Thanks!! I found some documentation on the

Re: [PHP] Re: Image resize on upload

2004-02-26 Thread Will
Thanks everyone. I got GD2 to work quite well! The thumb look pretty good. ~WILL~ Ed Curtis wrote: Make sure you use imagecreatetruecolor() with GD when resizing images or you'll get some undesirable results. Imagemagick's convert and mogrify worked well for me although I was resizing an

[PHP] Re: Image resize on upload

2004-02-25 Thread Will
I forgot to mention what I was trying to do. There is a web page that pulls the image file name from the database then reads the URL to the directory where the image is. Is it possible to just resize it when the web page is brought up in the browser? Like I said I am not sure which one to