Can anyone see why this blows up?  It basically just hangs the browser
trying to load the page.  I'm going to try to chop some of the image off,
but just want to get the new image to display right now.

<?php

$im = imagecreatefromjpeg("test.jpg");

$im2 = ImageCreate(320,240);

ImageCopy($im2, $im, 0, 0, 0, 0, 320, 240);

imagejpeg($im2,"",100);

imagedestroy($im);
imagedestroy($im2);

?>

THANKS!

-----------------------------
Phil Spitler [Vice President]
Web Hut Design, Inc.
c 704-451-1324
mailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to