[wp-trac] [WordPress Trac] #62365: HEIC upload conversion mappings may conflict with `image_editor_output_format` overrides

WordPress Trac noreply at wordpress.org
Thu Jun 5 07:35:11 UTC 2025


#62365: HEIC upload conversion mappings may conflict with
`image_editor_output_format` overrides
-----------------------------------------+------------------------------
 Reporter:  ironprogrammer               |       Owner:  adamsilverstein
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  6.9
Component:  Media                        |     Version:  6.7
 Severity:  normal                       |  Resolution:
 Keywords:  has-test-info needs-refresh  |     Focuses:
-----------------------------------------+------------------------------

Comment (by adamsilverstein):

 >I'm not completely aware of how the conversion is being done behind the
 scene. Judging from the conversation, it seems that there is a double
 conversion in a chain: First from HEIC to JPG (default) and then from JPG
 to AVIF (thanks to the filter hook upgrade).
 > Still, I'm not sure if it's possible to do a straight conversion from
 HEIC to AVIF. The suggestion is that this type of conversion should be
 left to plugins, not native to WP.
 > I'm assuming that @adamsilverstein suggests leaving open this ticket
 just in case someone takes the time to upgrade the conversion system to
 avoid a chained conversion?

 The conversion is from HEIC to AVIF directly, but may have failed for a
 variety of reasons. A smaller upload will likely succeed.

 I left this ticket open as a reminder to update the docs for this feature
 (https://core.trac.wordpress.org/ticket/62365#comment:10). I'll work on
 that now.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62365#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list