note 39941 deleted from function.imagecopyresized by aidan
| From: | aidan@php.net | Date: | Mon, 04 Oct 2004 09:38:31 +0000 |
| Subject: | note 39941 deleted from function.imagecopyresized by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77905@lists.php.net to get a copy of this message | ||
Note Submitter: hirschy at hirschy dot at
----
Actually, there is a small mistake in the code sample for resizing (from schuele2) near
<?php
imagecopyresized
($newim,$im,0,0,0,0,$nwidth,$nheight,$width,$height);
?>
which should be (mixed up some variables..)
<?php
imagecopyresized
($newim,$im,0,0,0,0,$nwidth,$nheight,$currwidth,$currheight);
?>
... just for saving you a lot of time.
The script - btw - works excellently!