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... img src=includes/viewphoto.php?id=?=$photo? 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

[PHP] image manipulation with php

2006-08-29 Thread Ross
I have an saved images I output with this... img src=includes/viewphoto.php?id=?=$photo? 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... img src=includes/viewphoto.php?id=?=$photo? 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

[PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Apologies in advance if this is a repost, my original message was held up while awaiting confirmation of my e-mail addy and such and I haven't seen it appear yet. Is there any support for TGA images in PHP. I have been writing some code to upload files, convert them to JPG and create

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Jason Wong
On Tuesday 20 July 2004 19:28, Mark Collin wrote: Is there any support for TGA images in PHP. Not builtin. I have searched through the PHP manual and through the GD library website and cannot even find a reference to TGA, is there no support for TGA images in PHP at all? (this seems rather

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Thanks for the advice, I will look into it. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]: On Tuesday 20 July 2004 19:28, Mark Collin wrote: Is there any support for TGA images in PHP. Not builtin. I have searched through the PHP manual and through the GD library

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

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 GD

[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

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

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