[PHP-NOTES] note 130219 added to function.imagescale

[email protected] ("[email protected]")
Newsgroups php.notes
Message-ID <[email protected]>
To resize height without specifying a width you can rotate the image by 90 degrees, resize, then rotate by 270 degrees.

        $outputImage = imagerotate($image, 90, 0);
        $outputImage = imagescale($outputImage, $minSize);
        $outputImage = imagerotate($outputImage, 270, 0);
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.84.18 (proxied: 50.120.211.183)
----
Manual Page -- https://php.net/manual/en/function.imagescale.php
Edit        -- https://main.php.net/note/edit/130219
Del: integrated  -- https://main.php.net/note/delete/130219/integrated
Del: useless     -- https://main.php.net/note/delete/130219/useless
Del: bad code    -- https://main.php.net/note/delete/130219/bad+code
Del: spam        -- https://main.php.net/note/delete/130219/spam
Del: non-english -- https://main.php.net/note/delete/130219/non-english
Del: in docs     -- https://main.php.net/note/delete/130219/in+docs
Del: other reasons-- https://main.php.net/note/delete/130219
Reject      -- https://main.php.net/note/reject/130219
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.