Re: [PHP] How can i resize images after upload?

2002-06-07 Thread Daniel Pupius
Why not use PHP's built in image library: http://www.php.net/manual/en/ref.image.php -- it's pretty cool. The resample function doesn't exist in some old install but it's quite easy to write your own -- just doesn't run as fast as a compiled version. Dan -- PHP General Mailing List (http:/

Re: [PHP] How can i resize images after upload?

2002-06-06 Thread Jason Wong
On Friday 07 June 2002 10:09, Andre Dubuc wrote: > // The actual uploaded file was 320x380 in size and a jpeg (could be > anything) > > print height='40'>" > Works for me . . . no need to alter/mogrify/resize. Perhaps I am missing > something, but after struggling with resizing, I remembered t

Re: [PHP] How can i resize images after upload?

2002-06-06 Thread Andre Dubuc
Hi Ragnar, I had the same problem whenI wanted to display an uploaded image file. Unfortunately, Imagemagick isn't pre-compiled with Linux-Mandrake 8.2 distro. So I couldn't do it the usual way. However, I solved it in a very easy way. Since the file was referenced in my db, and the actual fil

Re: [PHP] How can i resize images after upload?

2002-06-06 Thread Mark
On Thu, 6 Jun 2002 23:44:06 +0200, Ragnar wrote: >Is there a way in php to change the size of a posted/uploaded image >regardless of the imagetype? install imagemagick and then do something like: exec("/path/to/mogrify -geometry ".$width."x".$height." ".$file); -- PHP General

[PHP] How can i resize images after upload?

2002-06-06 Thread Ragnar
Is there a way in php to change the size of a posted/uploaded image regardless of the imagetype? -R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php