note 128054 added to gmagick.scaleimage
| From: | richard.computertech.systems via php-notes | Date: | Mon, 26 Dec 2022 09:45:47 +0000 |
| Subject: | note 128054 added to gmagick.scaleimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220009@lists.php.net to get a copy of this message | ||
Its important to understand that the boolean flag : $FIT is used as a MAXIMUM boundary of either X
or Y
If you use a physical image with a size of 128x256
scaleImage(200, 100, true); Will scale Y to 100 and X will be calculated
scaleImage(100, 120, true); Will scale X to 100 and Y will be calculated
$FIT is a LIMITER which is why it requires both an X and a Y for $FIT=true
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.175 (proxied: 121.99.228.14)
----
Manual Page -- https://php.net/manual/en/gmagick.scaleimage.php
Edit -- https://main.php.net/note/edit/128054
Del: integrated -- https://main.php.net/note/delete/128054/integrated
Del: useless -- https://main.php.net/note/delete/128054/useless
Del: bad code -- https://main.php.net/note/delete/128054/bad+code
Del: spam -- https://main.php.net/note/delete/128054/spam
Del: non-english -- https://main.php.net/note/delete/128054/non-english
Del: in docs -- https://main.php.net/note/delete/128054/in+docs
Del: other reasons-- https://main.php.net/note/delete/128054
Reject -- https://main.php.net/note/reject/128054
Search -- https://main.php.net/manage/user-notes.php