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.}
6441*6442* @type string...$0 The newmime type.6443*}6444* @param string$filename Path to the image.6445* @param string$mime_type The source image mime type.6446*/6447returnapply_filters('image_editor_output_format',$output_format,$filename,$mime_type);6448}64496450
History
Introduced in 5.8.0. 2 changes between 6.7.7 and 7.1.0.