note 108288 added to imagick.thumbnailimage

From: Date: Sat, 14 Apr 2012 08:35:09 +0000
Subject: note 108288 added to imagick.thumbnailimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-187123@lists.php.net to get a copy of this message
If the 3rd parameter is true, the image will be resized in such a way that it’ll be contained within the dimensions mentioned. It’s like changing the dimensions of the image so that it can be contained in a box of given dimension. Eg: Image’s dimension is 1600*800. If we use thumbnailImage(400, 400, true), the new image’s dimension will be 400*200. Some of the previous notes in this page mentions that the image is resized proportionally so that its _smallest_ dimension matches the width or height specified, NOT both. But this is not the case now. Both width & height of the image will be <= that mentioned in thumbnailImage(). Maybe imagick changed/updated the functionality. ---- Server IP: 69.147.83.197 Probable Submitter: 115.242.231.98 ---- Manual Page -- http://www.php.net/manual/en/imagick.thumbnailimage.php Edit -- https://master.php.net/note/edit/108288 Del: integrated -- https://master.php.net/note/delete/108288/integrated Del: useless -- https://master.php.net/note/delete/108288/useless Del: bad code -- https://master.php.net/note/delete/108288/bad+code Del: spam -- https://master.php.net/note/delete/108288/spam Del: non-english -- https://master.php.net/note/delete/108288/non-english Del: in docs -- https://master.php.net/note/delete/108288/in+docs Del: other reasons-- https://master.php.net/note/delete/108288 Reject -- https://master.php.net/note/reject/108288 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187123) next »