note 66828 added to ref.image
| From: | gareth at coolreflections dot co dot uk | Date: | Tue, 30 May 2006 17:08:15 +0000 |
| Subject: | note 66828 added to ref.image | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112550@lists.php.net to get a copy of this message | ||
Certain functions will cause php to 'crash' with gifs under 2px * 2px + transparency.
I'm afraid I haven't the time to pinpoint - but it did occur around these two:
imagefill($dst_img,0,0,$color_transparent);
imagecolortransparent($dst_img, $color_transparent);
But of course saving the image etc. was post those and resizing and resampling was prior.
If you recieve such a problem try bigger minimum image sizes. If i get the time i'll pin this
bug down.
Regards,
Gareth
----
Server IP: 84.18.202.180
Probable Submitter: 217.45.162.113
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.image.php
Edit -- http://master.php.net/note/edit/66828
Del: integrated -- http://master.php.net/note/delete/66828/integrated
Del: useless -- http://master.php.net/note/delete/66828/useless
Del: bad code -- http://master.php.net/note/delete/66828/bad+code
Del: spam -- http://master.php.net/note/delete/66828/spam
Del: non-english -- http://master.php.net/note/delete/66828/non-english
Del: in docs -- http://master.php.net/note/delete/66828/in+docs
Del: other reasons-- http://master.php.net/note/delete/66828
Reject -- http://master.php.net/note/reject/66828
Search -- http://master.php.net/manage/user-notes.php