Bug #4916 Updated: imagecopyresized not resizing

From: Date: Sun, 16 Jun 2002 12:26:39 +0000
Subject: Bug #4916 Updated: imagecopyresized not resizing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10607@lists.php.net to get a copy of this message
ID: 4916 Updated by: sander@php.net Reported By: D_Lindley@yahoo.com -Status: Open +Status: Bogus Bug Type: Misbehaving function Operating System: RedHat Linux PHP Version: 3.0.15 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2000-06-08 22:12:28] D_Lindley@yahoo.com 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.. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4916&edit=1

« previous php.bugs (#10607) next »