Better default quality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
32d28d7be2
commit
fc2ee8bd18
|
@ -175,7 +175,7 @@ function image_resize_dimensions($orig_w, $orig_h, $dest_w, $dest_h, $crop=false
|
|||
}
|
||||
|
||||
// Scale down an image to fit a particular size and save a new copy of the image
|
||||
function image_resize( $file, $max_w, $max_h, $crop=false, $suffix=null, $dest_path=null, $jpeg_quality=75) {
|
||||
function image_resize( $file, $max_w, $max_h, $crop=false, $suffix=null, $dest_path=null, $jpeg_quality=90) {
|
||||
|
||||
$image = wp_load_image( $file );
|
||||
if ( !is_resource( $image ) )
|
||||
|
|
Loading…
Reference in New Issue