diff options
-rw-r--r-- | admin/include/image.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 53516f62d..8ab6d9384 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -601,6 +601,8 @@ class image_ext_imagick implements imageInterface function write($destination_filepath) { $this->add_command('interlace', 'line'); // progressive rendering + // use 4:2:2 chroma subsampling (reduce file size by 20-30% with "almost" no human perception) + $this->add_command('sampling-factor', '4:2:2' ); $exec = $this->imagickdir.'convert'; $exec .= ' "'.realpath($this->source_filepath).'"'; |