Image Compression

By the default WordPress used 90% image compression on JPEG images. That can give small blurred effect.

To keep them clear use 100% of image quality

<?php

// Disable WordPress image compression
add_filter('wp_editor_set_quality', function ($arg) {
    return 100;
});
Click to Copy