note 104006 added to function.imageconvolution

From: Date: Tue, 17 May 2011 08:36:14 +0000
Subject: note 104006 added to function.imageconvolution
Groups: php.notes 
Request: Send a blank email to php-notes+get-179776@lists.php.net to get a copy of this message
Here's a good sharpen setting for thumbnail creation: $sharpenMatrix = array ( array(-1.2, -1, -1.2), array(-1, 20, -1), array(-1.2, -1, -1.2) ); // calculate the sharpen divisor $divisor = array_sum(array_map('array_sum', $sharpenMatrix)); $offset = 0; // apply the matrix imageconvolution($img, $sharpenMatrix, $divisor, $offset); ---- Server IP: 69.147.83.197 Probable Submitter: 151.81.37.83 ---- Manual Page -- http://www.php.net/manual/en/function.imageconvolution.php Edit -- https://master.php.net/note/edit/104006 Del: integrated -- https://master.php.net/note/delete/104006/integrated Del: useless -- https://master.php.net/note/delete/104006/useless Del: bad code -- https://master.php.net/note/delete/104006/bad+code Del: spam -- https://master.php.net/note/delete/104006/spam Del: non-english -- https://master.php.net/note/delete/104006/non-english Del: in docs -- https://master.php.net/note/delete/104006/in+docs Del: other reasons-- https://master.php.net/note/delete/104006 Reject -- https://master.php.net/note/reject/104006 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179776) next »