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. git-svn-id: https://develop.svn.wordpress.org/trunk@36615 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
408fb37f2b
commit
c270654d2c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user