[wp-trac] [WordPress Trac] #62365: HEIC upload conversion mappings may conflict with `image_editor_output_format` overrides
WordPress Trac
noreply at wordpress.org
Fri Nov 8 22:42:26 UTC 2024
#62365: HEIC upload conversion mappings may conflict with
`image_editor_output_format` overrides
----------------------------+---------------------
Reporter: ironprogrammer | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.8
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+---------------------
Changes (by azaozz):
* keywords: => needs-patch
* milestone: Awaiting Review => 6.8
Comment:
Good catch, would be nice to add it. Setting for 6.8.
Perhaps there is a chance this may be needed earlier to account for
existing conversion settings added from plugins. I.e. a plugin adding
conversion from JPEG to WEBP would not just add a setting for the
`image/jpeg` mime type, but for all supported formats (overriding the
defaults in core):
{{{
array(
'image/heic' => 'image/webp',
'image/heif' => 'image/webp',
'image/heic-sequence' => 'image/webp',
'image/heif-sequence' => 'image/webp',
'image/jpeg' => 'image/webp',
);
}}}
May be a good idea to add this to the
[https://make.wordpress.org/core/2024/08/15/automatic-conversion-of-heic-
images-to-jpeg-in-wordpress-6-7/ introductory post], or even publish a
follow-up dev. note?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62365#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list