diff --git src/wp-includes/media.php src/wp-includes/media.php
index 51c49f83d2..4d38fa6b48 100644
--- src/wp-includes/media.php
+++ src/wp-includes/media.php
@@ -3942,6 +3942,14 @@ function wp_get_image_editor( $path, $args = array() ) {
 		}
 	}
 
+	$mime_type = isset( $args['mime_type'] ) ? $args['mime_type'] : wp_check_filetype( $path )['type'];
+
+	/** This filter is documented in wp-includes/class-wp-image-editor.php */
+	$output_format = apply_filters( 'image_editor_output_format', array(), $path, $mime_type );
+	if ( isset( $output_format[ $mime_type ] ) ) {
+		$args['output_mime_type'] = $output_format[ $mime_type ];
+	}
+
 	$implementation = _wp_image_editor_choose( $args );
 
 	if ( $implementation ) {
@@ -4000,6 +4008,7 @@ function _wp_image_editor_choose( $args = array() ) {
 			continue;
 		}
 
+		// Implementation should support the passed mime type.
 		if ( isset( $args['mime_type'] ) &&
 			! call_user_func(
 				array( $implementation, 'supports_mime_type' ),
@@ -4008,6 +4017,17 @@ function _wp_image_editor_choose( $args = array() ) {
 			continue;
 		}
 
+		// Implementation should support the output mime type as well if set and different than the passed type.
+		if (
+			isset( $args['mime_type'] ) &&
+			isset( $args['output_mime_type'] ) &&
+			$args['mime_type'] !== $args['output_mime_type'] &&
+			! call_user_func( array( $implementation, 'supports_mime_type' ), $args['output_mime_type'] )
+		) {
+			continue;
+		}
+
+		// Implementation should support requested methods.
 		if ( isset( $args['methods'] ) &&
 			array_diff( $args['methods'], get_class_methods( $implementation ) ) ) {
 
diff --git tests/phpunit/tests/image/editor.php tests/phpunit/tests/image/editor.php
index c051ffec2b..9d0f674d2d 100644
--- tests/phpunit/tests/image/editor.php
+++ tests/phpunit/tests/image/editor.php
@@ -126,7 +126,7 @@ class Tests_Image_Editor extends WP_Image_UnitTestCase {
 		$this->assertSame( 82, $editor->get_quality(), 'Default quality setting is 82.' );
 
 		// Quality should change to the output format's value.
-		// A PNG image will be converted to WEBP whose quialty should be 86.
+		// A PNG image will be converted to WEBP whose quality should be 86.
 		$editor->save();
 		$this->assertSame( 86, $editor->get_quality(), 'Output image format is WEBP. Quality setting for it should be 86.' );
 
