WordPress Image Scaling Quality

How can I make sure that WordPress doesn’t lose too much quality on uploaded images that are scaled down?

Here are some samples. You can clearly see that an image resized in Photoshop comes out with better quality than the same image resized within WordPress.

Read More
  • Original screenshot at 700px width
    Original screenshot at 700px width

  • Photoshop resized at 600px
    Photoshop resized at 600px

  • WordPress resized at 600px
    WordPress resized at 600px

Related posts

1 comment

  1. WordPress does do some compression on images when it resizes them. You can disable this very simply using the following code (or using a plugin like this one):

    function wpse_114909_image_quality() {
        return 100;
    }
    add_filter( 'jpeg_quality', 'wpse_114909_image_quality' );
    

    I’m sure that GD & Imagemagick are not as good at resampling images as Photoshop is, so this may be a battle you’ll never win. All the same, this will certainly help. For any images where the quality matters that much to you, you should manage the images manually instead of letting WordPress resize them.

Comments are closed.