Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress: Remove Automatic JPEG Compression
// from: http://www.codeinwp.com/blog/wordpress-image-code-snippets/
// ============================================================================
// WordPress: Remove Automatic JPEG Compression
// ============================================================================
add_filter( 'jpeg_quality', 'smashing_jpeg_quality' );
function smashing_jpeg_quality() {
return 100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.