Re: Image manipulation with PHP on RHLinux 7.1

From: Date: Mon, 25 Mar 2002 00:06:53 +0000
Subject: Re: Image manipulation with PHP on RHLinux 7.1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89948@lists.php.net to get a copy of this message
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 wide, again keeping the height proportional. And save that image elsewhere. Ideas? - Dale At 3/24/02 06:30 PM, you wrote:
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 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? I'm running PHP 4.1.2 on Red Hat Linux 7.1 Thanks! - Dale -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dale & Lora Marshall                    Internet Marketing Services
http://lonestar.texas.net/~marshal1     http://www.internet-ms.com
marshall@cliffhanger.com                dalem@internet-ms.com
                                         loram@internet-ms.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dale & Lora Marshall                    Internet Marketing Services
http://lonestar.texas.net/~marshal1     http://www.internet-ms.com
marshall@cliffhanger.com                dalem@internet-ms.com
                                        loram@internet-ms.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

« previous php.general (#89948) next »