improvement of picture title on picture page, drop boxes on index page ...

sharpening uses a zider scale range 

git-svn-id: http://piwigo.org/svn/trunk@13115 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2012-02-12 10:02:59 +00:00
commit a1833e40a2
9 changed files with 12 additions and 35 deletions

View file

@ -265,8 +265,8 @@ class pwg_image
/** Returns a normalized convolution kernel for sharpening*/
static function get_sharpen_matrix($amount)
{
// Amount should be in the range of 18-10
$amount = round(abs(-18 + ($amount * 0.08)), 2);
// Amount should be in the range of 24-10
$amount = round(abs(-24 + ($amount * 0.14)), 2);
$matrix = array
(