RE: [PHP] Image Resizing ... lets try this again.

2002-09-06 Thread Dave at Sinewaves.net
search the archive - i posted a gd1 solution about 2 or 3 weeks ago... dave -Original Message- From: Fifield, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 7:54 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Resizing ... lets try this again. I sent this email

Re: [PHP] Image Resizing ... lets try this again.

2002-09-06 Thread Marek Kilimajer
If you can use exec you may use convert, or also imlib module provides very good results. Fifield, Mike wrote: >I sent this email out earlier this morning and got no response. It was quite >early so I thought I would send it again now that more people are hopefully >at work :-) > > > > > >I h

Re: [PHP] Image Resizing ... lets try this again.

2002-09-06 Thread bbonkosk
What I found works very well for this is the function: getimagesize(); $image_file = "something.jpg"; $size = getimagesize($image_file); //$size[0] = height and $size[1] = width (double check on php.net) //Then just divide them... $width = $size[1]/2; $height=$size[0]/2; This way it will keep