aboutsummaryrefslogtreecommitdiffstats
path: root/include/derivative_params.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/derivative_params.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/derivative_params.inc.php b/include/derivative_params.inc.php
index 42bdfb7d5..be28b6589 100644
--- a/include/derivative_params.inc.php
+++ b/include/derivative_params.inc.php
@@ -282,7 +282,10 @@ final class DerivativeParams
{
public $type = IMG_CUSTOM;
public $last_mod_time = 0; // used for non-custom images to regenerate the cached files
+ public $use_watermark = false;
public $sizing;
+ public $sharpen = 0;
+ public $quality = 85;
function __construct($sizing)
{
@@ -291,7 +294,7 @@ final class DerivativeParams
public function __sleep()
{
- return array('last_mod_time', 'sizing');
+ return array('last_mod_time', 'sizing', 'sharpen', 'quality');
}
function add_url_tokens(&$tokens)