note 44018 added to function.imagecopyresampled
| From: | nateritter at email dot com | Date: | Mon, 12 Jul 2004 18:25:43 +0000 |
| Subject: | note 44018 added to function.imagecopyresampled | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73111@lists.php.net to get a copy of this message | ||
I didn't see it mentioned, but the extension upper/lower case does make a difference. I have
only tested this with jpgs but if the extension of the file is in upper case or mixed case, the
resize won't work. Additionally imagecopyresized() won't work like that either. The
extensions should be lower case for the resize to work. Otherwise you get a "not a valid Image
resource" error.
----
Manual Page -- http://www.php.net/manual/en/function.imagecopyresampled.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44018
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44018&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44018&report=yes
Search -- http://master.php.net/manage/user-notes.php