diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-14 07:45:06 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-14 07:45:06 +0200 |
commit | dc9d933d81646b53edab245eb8f96b1e82ba752f (patch) | |
tree | 1ed71efd273183764ac549992dc3fc965a4c025f /modules/libpref/init | |
parent | 6bb3a908d34728fec0a3520eac03ad9b69dd4a9b (diff) | |
download | UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar.gz UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar.lz UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.tar.xz UXP-dc9d933d81646b53edab245eb8f96b1e82ba752f.zip |
Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
Diffstat (limited to 'modules/libpref/init')
-rw-r--r-- | modules/libpref/init/all.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index beab06aff..1b2793ed3 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4346,6 +4346,12 @@ pref("image.http.accept", "image/webp,image/png,image/*;q=0.8,*/*;q=0.5"); // disable. pref("image.infer-src-animation.threshold-ms", 2000); +// Whether to always optimize to image layers. Setting this to true will increase +// performance of downscaled large images at the expense of visual quality, +// because we can't use HQ downscaling in image layers. +// Aliasing may occur past downscaling beyond 34% in that case. +pref("image.layerize.always", false); + // // Image memory management prefs // |