[wp-trac] [WordPress Trac] #35725: Add WebP support.
WordPress Trac
noreply at wordpress.org
Wed Mar 31 17:46:32 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 desrosj):
I spent a good chunk of time today looking at our Docker images with
@mikeschroder and improving WebP support there to ensure we're able to
develop and test this properly across supported versions of PHP.
https://github.com/WordPress/wpdev-docker-images/pull/62 is the PR and is
ready for testing. A quick summary:
- ImageMagick/Imagick already supported WebP on the PHP 7.1-7.4 images.
- ImageMagick/Imagick is currently not installed/configured on our 8.0
image as no official release currently supports PHP 8. However, GD is
installed and used.
- The PR adds full support for WebP when using GD on PHP 7.0-8.0.
- Imagick support cannot easily be added to the 7.0 image because the base
image used for our image has been EOL'ed, and is stuck compiling with a
version of ImageMagick that did not contain support for WebP.
If you'd like to give those images a test spin, the extra eyes would be
appreciated! There is a `docker-compose.override.y.ml` sample file in the
PR description you can use to easily test the images. If there's no
suggestions or feedback, I'll plan on merging this before end of week, and
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:140>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list