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

WordPress Trac noreply at wordpress.org
Thu Apr 22 03:49:26 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:162 spacedmonkey]:
 > One question, in my testing, it seems like thumbnails are not generated
 on animated webp. Is this an expected behaviour? What is the reasoning
 behind this? Can we document this well in release notes.
 >
 > Note for the future, I would solve to solve generating thumbnails for
 animated webp. I would love to convert animated gifs to animated webp and
 generate thumbnails for this webp.

 I agree! I'll note that animated GIFs are currently not supported by WP
 for resizing either, unfortunately (See: #28474).

 I'm not sure about GD support (I saw in
 [https://core.trac.wordpress.org/ticket/52867#comment:11 another comment]
 that Adam noted GD doesn't support resizing animated files) -- but with
 Imagick for GIFs, this is because WP grabs the first frame, and resizes
 that, rather than iterating through and resizing all of the frames. I
 don't know if WebP handles this in a different fashion that might make it
 easier.

 Regardless, I think it'd be a nice feature to support.

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


More information about the wp-trac mailing list