[wp-trac] [WordPress Trac] #35725: Add WebP support.
WordPress Trac
noreply at wordpress.org
Wed Mar 31 05:59:46 UTC 2021
#35725: Add WebP support.
-------------------------------------------------+-------------------------
Reporter: markoheijnen | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.8
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses:
tests needs-dev-note dev-feedback |
-------------------------------------------------+-------------------------
Comment (by mikeschroder):
Replying to [comment:135 spacedmonkey]:
<snip>
> Why does one have quality of 90 and no filter and other 75 with a
filter?
This was confusing to me as well when I checked out the patch.
It looks like 90 is the quality for the streamed image preview while
resizing (not for saved images), and only when a `WP_Image_Editor` object
is not passed to `wp_stream_image()`:
https://github.com/WordPress/wordpress-
develop/blob/2382765afa36e10bf3c74420024ad4e85763a47c/src/wp-
admin/includes/image-edit.php#L267
As far as I'm aware, this should only happen as backcompat / with
plugins/themes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:138>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list