[wp-trac] [WordPress Trac] #42775: Support uploading files in HEIF and HEVC formats
WordPress Trac
noreply at wordpress.org
Fri Feb 28 00:18:37 UTC 2020
#42775: Support uploading files in HEIF and HEVC formats
---------------------------------+-----------------------------
Reporter: mattheweppelsheimer | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5
Component: Upload | Version:
Severity: minor | Resolution:
Keywords: needs-patch | Focuses: administration
---------------------------------+-----------------------------
Changes (by azaozz):
* milestone: Future Release => 5.5
Comment:
Been looking at this for a bit. Thinking that if the users can upload HEIF
images they will expect them to "just work" (which is the right thing),
but they won’t work as there's no browser support.
Seems that currently the best way to handle HEIF images would be to check
if they can be converted to JPEGs on the server.
- If yes, allow uploading, do the conversion on the server.
- If no, show a warning/notice to the user to convert the image to JPEG
before uploading.
As far as I see ImageMagick can convert HEIF to JPEG using external
library. GD cannot. That will introduce inconsistencies depending on the
hosting setup, but can be considered progressive enhancement.
Moving to the 5.5 milestone to consider adding the above message and do
the conversion when supported by the server.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42775#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list