• Webp images seem to get compressed and have worse quality that the original on the computer. Even when setting the webp quality to 100 with this code snippet:

    function filter_webp_quality( $quality, $mime_type ) {
      if ( 'image/webp' === $mime_type ) {
         return 100;
      }
      return $quality;
    }
    add_filter( 'wp_editor_set_quality', 'filter_webp_quality', 10, 2 );

    Anyone experienced this or know where this issue comes from?

    • This topic was modified 3 years, 3 months ago by weddje.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘webp images loose quality after uploading even with quality set to 100’ is closed to new replies.