mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-30 06:52:15 +02:00
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:
@@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user