How to disable WordPress JPEG image compression

By default, WordPress compress uploaded jpg images. This is a good thing because it makes the files smaller, but in some case, image quality can be more important. If you need to prevent WordPress to compress your images, simply apply this simple tip.

Instructions
Add this code to your functions.php file.

Snippet Info

Tested with Wordpress v. NA
Review Status: Needs Review

How to disable WordPress JPEG image compression
4.9 (97.93%) 29 votes
Please report broken snippets.
Report Broken Snippet