mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 07:22:01 +01:00
Media: Reduce default image compression quality to '82'.
Changes default image compression quality from '90' to '82'. This reduces generated image file sizes by ~25% while keeping DSSIM < 0.0023, with both Imagick and GD. Props @joemcgill, @dnewton. See #33642. Built from https://develop.svn.wordpress.org/trunk@36615 git-svn-id: http://core.svn.wordpress.org/trunk@36582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f7441d674
commit
55cc876141
@ -17,7 +17,7 @@ abstract class WP_Image_Editor {
|
||||
protected $mime_type = null;
|
||||
protected $default_mime_type = 'image/jpeg';
|
||||
protected $quality = false;
|
||||
protected $default_quality = 90;
|
||||
protected $default_quality = 82;
|
||||
|
||||
/**
|
||||
* Each instance handles a single file.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36614';
|
||||
$wp_version = '4.5-alpha-36615';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user