Disable Image Compression

To disable the WordPress image compression, you have to set the quality to 100:

add_filter( ‘jpeg_quality’, create_function( ”, ‘return 100;’ ) );

Caution: You will get really large images!