note 124248 added to function.imagejpeg
| From: | flyingman@php.net | Date: | Sun, 29 Sep 2019 20:10:52 +0000 |
| Subject: | note 124248 added to function.imagejpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-212436@lists.php.net to get a copy of this message | ||
ZERO BYTE FILE RESULT - HERE'S WHY!
Take to heart that CAUTION note on this function. If gdlib fails to output, it still returns true!
I'd call that a bug personally.
GD will fail to output if you have an image exceeding its maximum undisclosed dimensions of 65500
pixels.
You'll get a zero byte file instead
----
Server IP: 208.43.231.9
Probable Submitter: 82.199.157.54 (proxied: 167.250.193.157)
----
Manual Page -- http://php.net/manual/en/function.imagejpeg.php
Edit -- https://master.php.net/note/edit/124248
Del: integrated -- https://master.php.net/note/delete/124248/integrated
Del: useless -- https://master.php.net/note/delete/124248/useless
Del: bad code -- https://master.php.net/note/delete/124248/bad+code
Del: spam -- https://master.php.net/note/delete/124248/spam
Del: non-english -- https://master.php.net/note/delete/124248/non-english
Del: in docs -- https://master.php.net/note/delete/124248/in+docs
Del: other reasons-- https://master.php.net/note/delete/124248
Reject -- https://master.php.net/note/reject/124248
Search -- https://master.php.net/manage/user-notes.php