Set compression to 50 is the format is png

Authored by davidre on May 5 2019, 5:56 PM.

Description

Set compression to 50 is the format is png

Summary:
This reverts commit 0f259d9be2bd6be8e8e28b46f22e5ba7d5720273.

If no value for compression is set the png handler will fallback to using quality to determine compression resulting in huge files. See also the Discussion in D19591.

BUG: 406263
FIXED-IN: 19.04.1

Test Plan:
Save png with quality configured to 100.
The picture file should have a reasonable size.

Reviewers: Spectacle, cfeck, ngraham

Reviewed By: Spectacle, ngraham

Subscribers: shubham, Spectacle

Tags: Spectacle

Differential Revision: https://phabricator.kde.org/D20985