[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
Fri Nov 15 16:28:24 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: Awaiting Review
Component: Editor | Version: 6.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I’m finding that if I upload a PNG with a transparent background (which is
the only reason I use PNG most of the time) in the Block Editor, it’s
getting converted to a JPEG with the transparency either turned black or
some kind of distorted color blocks from the foreground elements of the
image.
If I go into the Media Library and look at the images that were uploaded,
the **Original image** link is not to the original PNG version of the
image, but a HEIC file with a name like `tempImage1fPWE9.heic` and then
that has been converted to a JPEG (e.g. `tempImage1fPWE9.jpg`) for display
on the site.
If I upload the PNG directly in the Media Library, it uploads normally.
This problem is only happening in the Block Editor. I confirmed it is
happening on a site running WordPress 6.7 using the Twenty Twenty Five
theme and no plugins active.
I saw in the release notes that 6.7 has added support for HEIC images, but
I am not uploading HEIC images, they are definitely PNGs on my computer.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62447>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list