Enables filtering the mime type used to save images. By default HEIC/HEIF images are converted to JPEGs.
Parameters
$output_formatstring[]
{ An array of mime type mappings. Maps a source mime type to a new destination mime type. By default maps HEIC/HEIF input to JPEG output. @type string ...$0 The new mime type.}
6346*6347* @type string...$0 The newmime type.6348*}6349* @param string$filename Path to the image.6350* @param string$mime_type The source image mime type.6351*/6352returnapply_filters('image_editor_output_format',$output_format,$filename,$mime_type);6353}6354
History
Introduced in 5.8.0. 2 changes between 6.7.7 and 7.1.0.