[wp-trac] [WordPress Trac] #35725: Add WebP support.
WordPress Trac
noreply at wordpress.org
Wed May 5 23:45:12 UTC 2021
#35725: Add WebP support.
-------------------------------------------------+-------------------------
Reporter: markoheijnen | Owner:
| adamsilverstein
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.8
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses:
tests needs-dev-note dev-feedback |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:177 johnjamesjacoby]:
> * Should `_wp_webp_is_lossy()` be WebP specific? Are other mimes'
lossy'ness similarly detectable?
It looks like the function is only used in a single place in core, in
`WP_Image_Editor_Imagick::set_quality()`, so I think we can just move the
condition there and probably don't need a dedicated function for that at
this time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:182>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list