
How to Stop WordPress compressing images?
WordPress Media Library is compressing uploaded jpeg images by default to 82%
of their original quality. Before WordPress version 4.5 it was set to 90%
.
If you want to have JPEG image quality back to 100%
then it’s very simple.
Add below code to your theme’s functions.php file.
add_filter( 'jpeg_quality', function ( $arg ) { return 100; } );
Is there any other way to achieve this without code?
Yes.
- Download Crunchy Optimizer WordPress Plugin.
- Enable toggle: Get back 100% JPEG image quality.

And you are all set.

Crunchy Optimizer – No recurring charge
No monthly or Yearly Payment – just one time purchase. We believe in the best product quality.
Simplest, most powerful, super light weight All-in-One WordPress plugin for all! 50+ Optimization, Customization & Webmaster Options in one single plugin. 🥳
Get your copy at 15% discount.