By default WordPress will automatically compress your JPEG quality to 90%. To increase or decrease the amount, use the following code snippet:// Increase or decrease JPEG quality function himpfenjpegquality() { return 100; } addfilter( ‘jpegquality’, ‘himpfenjpegquality’ );

Add the code snippet to your theme’s functions.php file.

On line 3, you’ll see the number 100. This is the percentage you want your jpeg quality to be. Change it to whatever you want – anything below 90 is a decrease in quality, whereas, anything over 90 is an increase in jpeg quality.