Bug #4916: imagecopyresized not resizing

From: Date: Thu, 08 Jun 2000 20:12:28 +0000
Subject: Bug #4916: imagecopyresized not resizing
Groups: php.dev 
Request: Send a blank email to php-dev+get-20599@lists.php.net to get a copy of this message
From: D_Lindley@yahoo.com Operating system: RedHat Linux PHP version: 3.0.15 PHP Bug Type: Misbehaving function Bug description: imagecopyresized not resizing i have code like this: (note folder.gif is 20w by 22h) <?php $source = @imagecreatefromgif ("/home/sites/dazweb.co.uk/web/images/folder.gif"); $dest = imagecreate(100, 100); $desti = imagecopyresized ($dest, $source, 0, 0, 0, 0, 100, 100, 20, 22); $a = imagegif($desti, "/home/sites/dazweb.co.uk/web/images/upload/test2.gif"); ?> the script will produce an exact copy of the source image not resized at all (changing the 100,100,10,12 to any numbers makes no difference at all) the users on the mailing list dont know how to solve it and some have had similar problems. unfortunately the server is not mine so i cant give details on moduales etc..

« previous php.dev (#20599) next »