aboutsummaryrefslogtreecommitdiffstats
path: root/i.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-02-28 21:18:03 +0000
committerrvelices <rv-github@modusoptimus.com>2012-02-28 21:18:03 +0000
commitcb2a1f0d9989e913ab0643716516bcff919d8eda (patch)
treea4eacb229293b7711ab9c6b0993217111f28e985 /i.php
parent3b1a593b66618d556ee676695647796ac4dfd0ae (diff)
- derivative fix floating point rounding errors for certain sizes
- increase derivative size for which metadata is kept - imagick use 4:2:2 chroma subsampling (reduce file size by 20-30% with "almost" no human perception) - dont show mobile theme links if there is no mobile theme installed - mobile theme favicon removed because 404 git-svn-id: http://piwigo.org/svn/trunk@13426 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--i.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/i.php b/i.php
index 9b2494649..e3313cd78 100644
--- a/i.php
+++ b/i.php
@@ -519,7 +519,7 @@ if (!$changes)
ierror( $page['src_url'], 301);
}
-if ($d_size[0]*$d_size[1] < 100000)
+if ($d_size[0]*$d_size[1] < 256000)
{// strip metadata for small images
$image->strip();
}