Re: image size

From: Date: Sat, 09 Sep 2000 11:23:19 +0000
Subject: Re: image size
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15984@lists.php.net to get a copy of this message
Think you can grep info from GetImageSize(), and you don't need PHP compiled with GD for this. -- Bojan Gajic <bojan@inet.co.yu> o.cook@etoncollege.org.uk wrote: > Look at the imagesx() and imagesy() functions. > > http://www.php.net/manual/function.imagesx.php > http://www.php.net/manual/function.imagesy.php > > You will need to have compiled PHP with gif/png/jpeg support with GD to be > able to use those functions I think. > > Ollie > > -------------------------------------------- > Ollie Cook +44 (7946) 057 198 > PGP: http://ollie.zenox.dhs.org/pgp-key > -------------------------------------------- > > > -----Original Message----- > > From: Shane McBride [mailto:php@riversidedesigns.net] > > Sent: 08 September 2000 21:39 > > To: Php-General > > Subject: [PHP] image size > > > > > > When I load an image is their a way with php to check the > > image size (not file size, but dimensions) and reduce it is > > it falls outside a certain size, say 200pixels x 200 pixels? > > > > TIA, > > Shane > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#15984) next »