note 36282 added to function.imagecopyresampled

From: Date: Fri, 03 Oct 2003 10:29:19 +0000
Subject: note 36282 added to function.imagecopyresampled
Groups: php.notes 
Request: Send a blank email to php-notes+get-57683@lists.php.net to get a copy of this message
I think that ImageCopyResampled is a must for resizing an image. So because SrcY and SrcX are ignored in GD 2, I just made workable function which is called ImageCopyResampled2. (dont't have the copy here) It uses ImageCopy func. to get the SrcY and SrcX coord. Altogether it took up about 10 lines. ---- Manual Page -- http://www.php.net/manual/en/function.imagecopyresampled.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36282 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36282&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36282&report=yes

« previous php.notes (#57683) next »