[wp-trac] [WordPress Trac] #35725: Add mime-type for Webp
WordPress Trac
noreply at wordpress.org
Fri Nov 13 12:32:40 UTC 2020
#35725: Add mime-type for Webp
-------------------------------------------------+-------------------------
Reporter: markoheijnen | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-testing | Focuses:
has-unit-tests needs-refresh |
-------------------------------------------------+-------------------------
Comment (by svenwordpress):
We discussed in slack the way to go. It comes to the point of image sizes
and what is supported:
GD vs imagick vs JS library
- GD is supporting webp since PHP 4.3
- Imageick isn't 100% sure since when it supports webp, but looks like
since 4 years minimum
- There is also a possibility to use a JS library
So it looks like GD should be prefered use with JS as fallback
1st GD, 2nd JS
Or is it better o go for this?
1st GD, 2nd Imagick, 3rd JS
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list