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.}
6306*6307* @type string...$0 The newmime type.6308*}6309* @param string$filename Path to the image.6310* @param string$mime_type The source image mime type.6311*/6312returnapply_filters('image_editor_output_format',$output_format,$filename,$mime_type);6313}6314
History
Introduced in 5.8.0. 2 changes between 6.7.7 and 7.1.0.