note 41696 added to function.imagecopyresampled
| From: | php-general at lists dot php dot net | Date: | Tue, 20 Apr 2004 07:48:05 +0000 |
| Subject: | note 41696 added to function.imagecopyresampled | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68357@lists.php.net to get a copy of this message | ||
It seems that this function does not work with very big (width/height) images. I use this and couple
of others to shrink images if they are bigger than allowed and it worked fine until user uploaded an
image that was 1200 in width and over 4000 in height. The result was black image of right size
(smaller than original). So resizing worked but image turned into black.
Every other image before and since (if they are smaller than ...) have worked fine.
----
Manual Page -- http://www.php.net/manual/en/function.imagecopyresampled.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41696
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41696&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41696&report=yes
Search -- http://master.php.net/manage/user-notes.php