- small js fixes on index/picture

- i.php does not use derivatives.dat file anymore (obsolete file)
- better selection of derivatives in picture.php
- larger sharpen real range in image.class.php

git-svn-id: http://piwigo.org/svn/trunk@13736 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2012-03-26 04:07:03 +00:00
parent c537b5144f
commit 9d66c18541
6 changed files with 27 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 24-10
$amount = round(abs(-24 + ($amount * 0.14)), 2);
// Amount should be in the range of 28-10
$amount = round(abs(-28 + ($amount * 0.18)), 2);
$matrix = array
(