Better default quality.

git-svn-id: http://svn.automattic.com/wordpress/trunk@7474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-03-22 17:14:53 +00:00
parent 32d28d7be2
commit fc2ee8bd18
1 changed files with 1 additions and 1 deletions

View File

@ -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 // 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 ); $image = wp_load_image( $file );
if ( !is_resource( $image ) ) if ( !is_resource( $image ) )