[wp-trac] [WordPress Trac] #35725: Add WebP support.

WordPress Trac noreply at wordpress.org
Mon Apr 5 05:31:34 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:151 adamsilverstein]:
 > @mikeschroder - The latest patch should do this when Imagick is present;
 GD currently cannot generate lossless WebP images.

 That's awesome; thank you! I'll give that a test.

 As an update, I'm still figuring out the best way to do DSSIM testing,
 because the tool used in the previous tests does not support WebP. It
 looks like this can be done with a user script + ImageMagick, but I've got
 to find out if the numbers generated can be compared to the previous ones,
 or whether that'll have to start from scratch.

 If anyone has thoughts / previous testing with DSSIM and WebP, insight and
 recs would be appreciated!

 One note on the new patch -- the WebP specific functions/sub-functions for
 gathering size/meta are starting to get a little confusing for me to
 follow. I'm wondering if it might be helpful to consolidate a little bit?
 I'm guessing it's this way for a reason, but figured I'd pass on the
 feedback.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:152>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list