Re: [PHP] image manipulation with php

2006-08-31 Thread Curt Zirzow
On 8/29/06, Ross <[EMAIL PROTECTED]> wrote: I have an saved images I output with this... I want to use getimagesize() to get the height and width of the image and if it is above a certain size then scale/ reduce it. The problems are (i) using getimage() without a url just my viewphoto.php

Re: [PHP] image manipulation with php

2006-08-29 Thread Jochem Maas
Ross wrote: > I have an saved images I output with this... > > > > > > I want to use getimagesize() to get the height and width of the image and if > it is above a certain size then scale/ reduce it. > > The problems are > > (i) using getimage() without a url just my viewphoto.php script w

[PHP] image manipulation with php

2006-08-29 Thread Ross
I have an saved images I output with this... I want to use getimagesize() to get the height and width of the image and if it is above a certain size then scale/ reduce it. The problems are (i) using getimage() without a url just my viewphoto.php script (ii) comparing and reducing the fil

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Rasmus Lerdorf
exif_imagetype() is new function only available in PHP 4.2 (not released yet) and above. Use GetImageSize() for now. -Rasmus On Sat, 30 Mar 2002, Dale & Lora Marshall wrote: > > Ok, I've been looking at the image functions, and found that I needed > to recompile PHP with exif support and load

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Dale & Lora Marshall
Ok, I've been looking at the image functions, and found that I needed to recompile PHP with exif support and load GD and other functions. I've done all of that and now I get the following: Source: /home/jamboimages/images/uploads/alamoarea_97_round_sm.jpg 600 : /images/patches/1997/1997R15.jpg 3

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 08:06, Dale & Lora Marshall wrote: > I guess I should clarify. If the image that's referenced in the > database is, for example, 700x300, I want to reduce it to 600 > pixels wide, keeping the height proportional. Then, save that > image to a new name somewhere else in the

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale & Lora Marshall
I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the filesytem. Then I want to reduce the image further to 300 pixels

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Thalis A. Kalfigopoulos
This isn't image manipulation. This is filesystem manipulation. As for the "resizing", check if you have mogrify with you Linux installation and do a system() on it. cheers, --t. On Sun, 24 Mar 2002, Dale & Lora Marshall wrote: > > Hello all. I have a PHP script which retrieves records from

[PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale & Lora Marshall
Hello all. I have a PHP script which retrieves records from a database, and one field in the record is the path to an image. I want to do things with this image: See what it's size (pixes) is Resize it if necessary Move it to a different location Can someone give me an idea on how to do this?