note 65154 added to function.imagecopyresampled

From: Date: Tue, 25 Apr 2006 17:49:12 +0000
Subject: note 65154 added to function.imagecopyresampled
Groups: php.notes 
Request: Send a blank email to php-notes+get-109660@lists.php.net to get a copy of this message
In Photoshop, I often get a low-res image and resize it up to depixelate it before e.g. printing (i goto image -> image size and increase pixel count accordingly). By default Photoshop uses 'bicubic' resampling although other options are available. I hoped the same would work with GD2, but alas when I use imagecopyresampled() to increase the dimensions of an image, the new image has the larger dimensions but is just as pixelated as the original. For example, on a diagonal line rather than smudging over the line which is the desired effect, instead you see the line as pixels still, except each 'pixel' is now actuall a number of pixels together. Does anyone have any idea how to get my desired effect? ---- Server IP: 85.116.0.130 Probable Submitter: 80.1.224.13 (proxied: 82.17.20.7) ---- 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/function.imagecopyresampled.php Edit -- http://master.php.net/note/edit/65154 Del: integrated -- http://master.php.net/note/delete/65154/integrated Del: useless -- http://master.php.net/note/delete/65154/useless Del: bad code -- http://master.php.net/note/delete/65154/bad+code Del: spam -- http://master.php.net/note/delete/65154/spam Del: non-english -- http://master.php.net/note/delete/65154/non-english Del: in docs -- http://master.php.net/note/delete/65154/in+docs Del: other reasons-- http://master.php.net/note/delete/65154 Reject -- http://master.php.net/note/reject/65154 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#109660) next »