The max_scale_factor is not used anymore.

We never generate previews larger than the original. So the config
setting can be removed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-01-08 11:42:36 +01:00
parent ecf8850464
commit 1e74c8fba9
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 0 additions and 9 deletions

View File

@ -859,15 +859,6 @@ $CONFIG = array(
* Defaults to ``2048``
*/
'preview_max_y' => 2048,
/**
* If a lot of small pictures are stored on the Nextcloud instance and the
* preview system generates blurry previews, you might want to consider setting
* a maximum scale factor. By default, pictures are upscaled to 10 times the
* original size. A value of ``1`` or ``null`` disables scaling.
*
* Defaults to ``2``
*/
'preview_max_scale_factor' => 10,
/**
* max file size for generating image previews with imagegd (default behavior)