Avoid WordPress from Reducing the Quality of Your Uploaded Images. You might not have noticed but the fact is WordPress by default displays .jpeg image format with only 90% of the quality of the original uploaded image
<?php
add_filter( 'jpeg_quality', 'smashing_jpeg_quality' );
function smashing_jpeg_quality() {
return 100;
}
?>