[wp-trac] [WordPress Trac] #53645: Convert heic to a web safe image format.

WordPress Trac noreply at wordpress.org
Thu May 30 14:04:11 UTC 2024


#53645: Convert heic to a web safe image format.
-----------------------------------------------+---------------------------
 Reporter:  spacedmonkey                       |       Owner:  (none)
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  Future
                                               |  Release
Component:  Media                              |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  needs-patch needs-design-feedback  |     Focuses:
-----------------------------------------------+---------------------------

Comment (by swissspidy):

 Aren't these two the same thing?

 > * Just doing it, without asking.
 > * Converting automatically, but not doing anything at all. It just
 becomes a JPG.

 Interesting suggestion with showing something ''after'' upload.

 Originally I thought about a one-time modal ''before'' upload, and then
 storing the preference for later. That works well in the editor (where we
 have a preferences view and can easily display such notices), but not in
 the old media library.

 Also, I feel like a (before-upload) notice works best when we can do the
 conversion in the browser and not on the server.

 So for a server-side solution like here, my vote actually goes to "just do
 it, don't tell" - do not show any notice. There could be PHP filters for
 changing that behavior, as I don't think this warrants a checkbox on the
 settings page though (decisions, not options).

 > Is there anything we can do there, so if users insert a HEIC image and
 chooses "Full size", it's essentially converted to JPG for display at that
 time as well?

 Well it would happen even before you choose a size. You drop the file into
 the browser and on the server we would immediately convert.

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


More information about the wp-trac mailing list