[wp-trac] [WordPress Trac] #62447: WP 6.7 Block Editor converting new PNG uploads to JPEG with mangled backgrounds
WordPress Trac
noreply at wordpress.org
Mon Nov 18 17:29:21 UTC 2024
#62447: WP 6.7 Block Editor converting new PNG uploads to JPEG with mangled
backgrounds
--------------------------+---------------------
Reporter: room34 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7.1
Component: Editor | Version: 6.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by room34):
@desrosj I appreciate the intention of respecting the browser's behavior,
but I think it's worth noting that this quite likely is a bug in the
browser, and it may be worth working around it… just as adding
`image/heic` to the `accept` attribute was a workaround to a Chrome issue
in the first place.
1. There is no configuration setting in Safari or macOS to allow users to
control whether or not this is happening.
2. The file renaming is being done by Safari during its conversion from
PNG to HEIC.
I'm not able to think of a reasonable scenario where a user would want
Safari, with no warning or option, to convert their image from PNG to HEIC
(and change its filename to a random string) during the upload, especially
since WordPress 6.7 is then going to convert the image to JPEG. Safari is
misinterpreting the fact that the form ''accepts'' HEIC as an assumption
that the file should be ''converted'' to HEIC.
Also consider the fact that it is ''only'' the method of uploading the
image using the Upload button that causes this conversion. Dragging the
image in or uploading it via the Media Library does not do the conversion.
Users (e.g. me) are likely to blame the inconsistent behavior on
WordPress, not on Safari.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62447#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list