[wp-trac] [WordPress Trac] #35725: Add WebP support.
WordPress Trac
noreply at wordpress.org
Thu Apr 29 16:08:50 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 blobfolio):
Replying to [comment:167 adamsilverstein]:
> @blobfolio - @flixos90 on the PR asked about the two sections of code
that extract WebP info from the file directly
(https://github.com/WordPress/wordpress-develop/pull/1137/files#r617747316
& https://github.com/WordPress/wordpress-
develop/pull/1137/files#r617745292). I'd like to add a doc block
explaining/referencing the approach. Can you provide some more details?
Otherwise I'll go looking, thought I'd ask first though.
Hey @adamsilverstein,
This page lays out the RIFF container format specs:
https://developers.google.com/speed/webp/docs/riff_container
Of particular relevance are the
https://developers.google.com/speed/webp/docs/riff_container#webp_file_header
(file signature and subtype differentiation) and
https://developers.google.com/speed/webp/docs/riff_container#extended_file_format
sections (width, height, etc.).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:169>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list