[ticket/14770] Decreases quality to 85, changes test to 85, too

PHPBB3-14770
This commit is contained in:
Crizzo 2016-12-18 15:31:58 +01:00
parent 853362ddad
commit 71f82f2615
2 changed files with 2 additions and 2 deletions

View file

@ -266,7 +266,7 @@ class plupload
if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0) if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0)
{ {
$resize = sprintf( $resize = sprintf(
'resize: {width: %d, height: %d, quality: 90},', 'resize: {width: %d, height: %d, quality: 85},',
(int) $this->config['img_max_width'], (int) $this->config['img_max_width'],
(int) $this->config['img_max_height'] (int) $this->config['img_max_height']
); );

View file

@ -24,7 +24,7 @@ class phpbb_plupload_test extends phpbb_test_case
array( array(
130, 130,
150, 150,
'resize: {width: 130, height: 150, quality: 100},' 'resize: {width: 130, height: 150, quality: 85},'
), ),
); );
} }